[fpc-pascal] Linker script doesn't search in /usr/lib32 when cross compiling from x86_64 to i386
leledumbo_cool at yahoo.co.id
Sun Jan 11 08:53:54 CET 2015
I just updated to FPC 29428 and now I can no longer cross compile to i386
(I'm on x86_64). The linking stage always fail with:
"/usr/bin/ld: skipping incompatible <libpath here> when searching for
The weird thing is that the linker only looks at /lib and /usr/lib, but not
/usr/lib32, which should be the location of 32-bit libraries on 64-bit
system. Using -Cn, I can see that link.res doesn't contain path to
/usr/lib32, and manually changing it makes the linking success.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linker-script-doesn-t-search-in-usr-lib32-when-cross-compiling-from-x86-64-to-i386-tp5720749.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal