Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-06

macos make 3.1.1 fails

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

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

Reply by email

C Western
to Anthony Walter
Anthony Walter wrote 8 lines
I don't believe i386 is supported by the newer OSX dev tools. Use x86_64 instead. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Carbon is i386 only, so i386 is still needed. I haven't figured out all the options, but the command line that works for me is:

FPC=/usr/local/lib/fpc/3.0.4/ppc386 make distclean install PREFIX=~/usr CPU_SOURCE=i386

(All on one line) Note the specification of CPU_SOURCE

Colin

Reply by email

Mattias Gaertner
to C Western
Show quoted text 8 lines
[...] Carbon is i386 only, so i386 is still needed. I haven't figured out all the options, but the command line that works for me is: FPC=/usr/local/lib/fpc/3.0.4/ppc386 make distclean install PREFIX=~/usr CPU_SOURCE=i386 (All on one line) Note the specification of CPU_SOURCE

Yes! CPU_SOURCE it is.

This works here:
make clean all CPU_SOURCE=i386

I can't find that in the buildfaq. Only in some forum entries.

Mattias

Reply by email