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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal