[fpc-pascal] Re: cross compiling x64_64 to i386 linux
Marco van de Voort
marcov at stack.nl
Mon Nov 2 21:03:58 CET 2009
In our previous episode, Seth Grover said:
> Okay, in further investigation I am now manually forcing fpc to use
> i386-linux-ld for linking by using the "-Pi386 -XPi386-linux-"
> compiler flags (-P for the target and -XP for the binutils prefix). I
> assume there's something wrong in my fpc.cfg or it would do this
> manually, but I don't know what it is. Still, at least I'm getting
> i386-linux-ld to be called.
>
> However, ld is still not searching /usr/lib32. I also tried manually
> adding -Fl/usr/lib32 to the fpc command line but that didn't help.
>
> So apparently I have to somehow tell ld to look there...
You might have to tell it simply NOT to look in /usr/lib
E.g. like described in paragraph 3.4.1 of the buildfaq:
http://www.stack.nl/~marcov/buildfaq.pdf
More information about the fpc-pascal
mailing list