[fpc-pascal] macos make 3.1.1 fails

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 25 22:54:26 CEST 2018


Hi,

Trying to compile fpc 3.1.1 i386 on Mac High Sierra 10.13.5:

make CPU_TARGET=i386 PP=/usr/local/lib/fpc/3.0.4/ppc386 all

The CPU_TARGET seems to be ignored:

/Applications/Xcode.app/Contents/Developer/usr/bin/make compiler_cycle RELEASE=1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
/Applications/Xcode.app/Contents/Developer/usr/bin/make OS_TARGET=darwin CPU_TARGET=x86_64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl CYCLELEVEL=1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/mattias/pascal/3.1.1/fpc/rtl clean
/bin/rm -f fpcmade.x86_64-darwin Package.fpc ./ppas.sh script.res link.res  
...


GNU Make 3.81

Same error happens when trying to compile fpc 3.0.4 for i386.

The same command works with the Lazarus Makefiles. What is the fpc
Makefile doing wrong?

Mattias



More information about the fpc-pascal mailing list