Welcome, Guest
Username: Password: Remember me
CodeTyphon MacOS Development, discussions and problems
  • Page:
  • 1

TOPIC:

failed to compile for Apple Silicon M1 architecture 2 years 8 months ago #16118

  • Inferno
  • Inferno's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0
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.

failed to compile for Apple Silicon M1 architecture 2 years 8 months ago #16119

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4517
  • Thank you received: 1102
Thanks Sir
your OS ?
PilotLogic Architect and Core Programmer

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

failed to compile for Apple Silicon M1 architecture 2 years 8 months ago #16120

  • Inferno
  • Inferno's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0
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.

failed to compile for Apple Silicon M1 architecture 2 years 8 months ago #16121

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4517
  • Thank you received: 1102
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.

failed to compile for Apple Silicon M1 architecture 2 years 8 months ago #16138

  • Inferno
  • Inferno's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0
This is exactly what I needed. Thank you!

Best regards,
Inferno

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

  • Page:
  • 1