On 04 Aug 2011, at 15:13, Bruce Tulloch wrote:

So I've got cross-compilation working but I have one last problem.

I can't seem to get fpc to drive the linker to search the SDK path
BEFORE the default paths. Specifically, i386-darwin-ld finds

 /usr/lib/crt1.o

and NOT

 /opt/MacOSX10.5.sdk/usr/lib/crt1.o

despite fpc being passed the option

 -k-L/opt/MacOSX10.5.sdk/usr/lib

Use -XR/opt/MacOSX10.5.sdk/ and get rid of the -k parameter.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to