Am 12.02.2015 13:56 schrieb "Jonas Maebe" <jonas.ma...@elis.ugent.be>: > > > 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
Yes, it does as I can successfully build FPC trunk on my Mac OS X 10.4 PPC. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel