Recent

Author Topic: Trouble installing a cross-compiler with FpcUpDeluxe  (Read 1074 times)

Cascade

  • Jr. Member
  • **
  • Posts: 86
Trouble installing a cross-compiler with FpcUpDeluxe
« on: July 29, 2025, 02:25:30 pm »
I’m trying to install a couple of cross-compilers with FpcUpDeluxe 2.4.0f so that I can target Windows and older Macs that use an Intel CPU.  Install completed successfully for the Windows x86_64 cross-compiler, but I'm getting errors for Darwin x86_64 ...

Code: [Select]
fpcupdeluxe: FPC cross-builder: Building compiler for darwin-x86_64.
info: FPC Cross Installer (CleanModule: FPC): Looking for crosstools and crosslibs on system. Please wait.
info: FPC Cross Installer (CleanModule: FPC): Skipping cross-compiler clean step: compiler seems to be up to date !!
info: FPC Cross Installer (CleanModule: FPC): Running make rtl_distclean,packages_distclean twice for target x86_64-darwin.
info: FPC Cross Installer (CleanModule: FPC): Removal of stale build files and directories for x86_64-darwin. May take a while.
info: FPC Cross Installer (BuildModule: FPC): Going to build FPC.
info: FPC Cross Installer (BuildModule: FPC): x86_64-darwin cross-builder: Detected source version FPC (source): 3.2.3.
info: FPC Cross Installer (BuildModuleCustom: FPC): Removing fpc.cfg config snippet for target x86_64-darwin.
info: FPC Cross Installer (BuildModuleCustom: FPC): Skipping cross-compiler build step: compiler seems to be up to date !!
info: FPC Cross Installer (BuildModuleCustom: FPC): Running make [Rtl Build] (FPC crosscompiler: x86_64-darwin) with CROSSOPT: -FD/Library/Developer/CommandLineTools/usr/bin -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/system -WM10.9.
Start of compile error summary.
Compiler error: 2014051001
Start of compile error summary.
Fatal: Compilation aborted
genmath.inc(919,7) Fatal: Internal error 2014051001
Start of compile error summary.
ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc /usr/bin/make for x86_64-darwin failed with an error code.
fpcupdeluxe: Done !!

Any thoughts on what the issue might be?

I'm running macOS Sequoia 15.5 on Apple Silicon with Command Line Tools v16.2 (Just in case it is relevant, macOS keeps prompting me to install Command Line Tools v16.4 - but I had to manually downgrade to v16.2 to get Lazarus to compile any project).

 

TinyPortal © 2005-2018