* [gentoo-embedded] Adjust paths when cross-compiling
@ 2010-09-16 11:03 99% Jan Kobler
0 siblings, 0 replies; 1+ results
From: Jan Kobler @ 2010-09-16 11:03 UTC (permalink / raw
To: gentoo-embedded
Hi,
when cross-compiling I have encountered some problems with path names:
ROOT=/usr/armv4tl-softfloat-linux-gnueabi
SYSROOT=/usr/armv4tl-softfloat-linux-gnueabi
I get error messages like:
/usr/lib/libgmp.so: could not read symbols: File in wrong format
or
/usr/libexec/gcc/armv4tl-softfloat-linux-gnueabi/ld: cannot find
/lib/libcrack.so.2
I have changed the paths manually
in the file $ROOT/usr/lib/libgmp.la
from
libdir='/usr/lib'
to
libdir='/usr/armv4tl-softfloat-linux-gnueabi/usr/lib'
in the file $ROOT/usr/lib/libcrack.so
from
GROUP ( /lib/libcrack.so.2 )
to
GROUP ( /usr/armv4tl-softfloat-linux-gnueabi/lib/libcrack.so.2 )
Are there any tools which can do this automatically.
I know that there is cross-fix-root or lafilefixer, but I am reluctant
to test it logged in as root.
Are there any docs about these tools beside --help on the command line.
These problems occurred when cross-compiling as described in
http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling-chroot
(currently Version 2)
Best regards
Jan
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-09-16 11:03 99% [gentoo-embedded] Adjust paths when cross-compiling Jan Kobler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox