Le 17/11/2011 16:37, Vincent Danjean a écrit :
Hi,
I'm trying to build a debian package of a mipsel cross-compiler.
To do that, I build a binutils for my target, then I install
required cross library with xapt and finally I try to build the cross-compiler
itself.
The last part fails within sid and testing. It took me some times, but I
found the problem. xapt correctly fix paths in lib/libc.so but not
in lib{32,64}/libc.so (ie these files refers to /lib{32,64}/* and
/usr/lib{32,64}/* files instead of /usr/mipsel-linux-gnu/lib{32,64})
Note that /usr/mipsel-linux-gnu/lib32/libc.so comes from
libc6-dev-mipsn32-mipsel-cross
and /usr/mipsel-linux-gnu/lib64/libc.so comes from libc6-dev-mips64-mipsel-cross
/usr/mipsel-linux-gnu/lib/libc.so (who has its paths fixed) comes from
libc6-dev-mipsel-cross
Manually changing these paths allow me to go further in the compilation of
the cross compiler (but not yet to the end :-( )
You will find in attachment the script I use to build my cross-compiler.
Regards,
Vincent
--
Vincent Danjean GPG key ID 0x9D025E87 vdanj...@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org