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:
> 
>  /mnt/engels/lib/libpthread.so.0
> 
> but according to the error message it's looking at:
> 
>  /lib/libpthread.so.0
> 
> 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/ ?


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

Reply via email to