× CodeTyphon MacOS Development, discussions and problems

Question failed to compile for Apple Silicon M1 architecture

  • Inferno
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 2 days ago #16118 by Inferno
Hi all,
I tried to compile application against using Target CPU family = aarch64 and got the error:

Compile package adFCL 7.4.1: Exit code 1, Errors: 1
Error: ppca64 can't be executed, error message: Failed to execute "ppca64", error code: 127

How to compile for ARM64 platform using Typhon64 on Intel platform?

Best regards,
Inferno

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #16119 by Sternas Stefanos
Replied by Sternas Stefanos on topic failed to compile for Apple Silicon M1 architecture
Thanks Sir
your OS ?

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Inferno
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 2 days ago #16120 by Inferno
Hi,
Currenty still on macOS Catalina10.15.7 but plan to switch to macOS Big Sur 11.5.2 soon. CTv7.4

Best regards,
Inferno

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #16121 by Sternas Stefanos
Replied by Sternas Stefanos on topic failed to compile for Apple Silicon M1 architecture
You must use CrossBuild procedure

1) Download with CTCenter the toolchain mac64-aarch64-darwin.7z
2) Build with CTCenter FPC element for aarch64-darwin
3) Setup your project for
   CPU= aarch64
   OS  =   darwin
   Platform =  Cocoa

   and with NO debug

4) Build your project

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Inferno
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 day ago #16138 by Inferno
This is exactly what I needed. Thank you!

Best regards,
Inferno

Please Log in or Create an account to join the conversation.