On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote:

/bin/mkdir -p powerpc/units/powerpc-darwin
/usr/local/bin/ppcppc -Ur -Xs -O2 -n -Fupowerpc -Fusystems -Fu/usr/ local/src/fpc/trunk-2.7.1-29398/rtl/units/powerpc-darwin -Fipowerpc - FE. -FUpowerpc/units/powerpc-darwin -dRELEASE -V2.6.4 -O- -gl -Xs- -dpowerpc -dGDB -dBROWSERLOG -Fuppcgen -Sew pp.pas
/usr/bin/ld: unknown flag: -macosx_version_min
An error occurred while linking
pp.pas(244,13) Error: Error while linking
pp.pas(244,13) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command line, or is the only way by finding the flag in the build files and disabling it?

Install Xcode 2.5, its linker should support that option. For instructions on how to get it: http://stackoverflow.com/questions/1204824/where-can-i-download-xcode-for-mac-os-x-10-4


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to