making gcc relocatable->fixed

Mike Frysinger vapier@gentoo.org
Sat Jun 24 03:55:00 GMT 2006


On Friday 23 June 2006 14:06, NZG wrote:
> Arrr har!
> It appears that the:
>  --enable-shared
> flag breaks relocatability (at least on 2.16.1 and 2.15)
> After removing that flag I can move it anywhere.

no, you moved the wrong libs

binutils' shared libs are in host format, not target format ... so they need 
to be in either the RPATH or in ld.so.conf path or $LD_LIBRARY_PATH
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20060624/1627850e/attachment.sig>


More information about the crossgcc mailing list