[fpc-pascal] Cross compiling x86_64 on i386 Linux.
jonas.maebe at elis.ugent.be
Wed May 30 17:40:06 CEST 2012
On 30 May 2012, at 01:50, Bruce Tulloch wrote:
> I tried --with-sysroot for configure in buildcrossbinutils and it does
> not appear to make any difference. I still get the error
> "/usr/local/opt/binutils/bin/x86_64-linux-ld: skipping incompatible
> /lib/libpthread.so.0 when searching for /lib/libpthread.so.0" at the
> link phase.
> I'm thinking that ld should be looking at:
> but according to the error message it's looking at:
> which read literally would explain the error.
That's correct. It seems that -XR isn't completely implemented on Linux in the compiler. Could you try, *instead* of using -XR, to use -k--sysroot=/full/path/to/crossroot/ ?
More information about the fpc-pascal