Thanks Jonas,

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. FWIW I have attached the
buildcrossbinutils build log in case there's a clue in there.

Unless you have any other suggestions I might just give up and upgrade
my mobile development environment to an x86_64 capable netbook and run a
mixed 64/32 bit system to build 64 bit (and 32 bit) targets.

I'm guessing not many people attempt to do it the other way around these
days so I might as well join the 64 bit party...

Cheers, Bruce.

On 29/05/12 18:45, Jonas Maebe wrote:
> 
> Bruce Tulloch wrote on Tue, 29 May 2012:
> 
>> Closer, but not quite there yet...
> [...]
>>   fpcfixes_2.6/cross/buildcrossbinutils
> 
> Try adding --with-sysroot to the configure flags in that script.
> 
> 
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Attachment: log-x86_64-linux.gz
Description: application/gzip

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

Reply via email to