Re: armel cross development on i386
2007/3/13, Sergey Smirnov <firstname.lastname@example.org>:
But I forgot to say that debian armel distribution use glibc 2.5
I read all links.
Still can't find gcc 4.1.1 with EABI and libc 2.5.
The ones at http://freaknet.org/martin/crosstool/packages do. However
I suspect you should really be linking against a cross version of the
real libc package from the armel distribution, converted using
dpkg-cross, the tool that converts Debian packages of libraries that
are the real thing for one Debian architecture, and lets you them on a
different architecture as cross-compiling libraries.
My funny packages contain a cross libc themselves: I'm not sure how
this will interwork with the dpkg-cross'd version of the real thing,
or whether dpkg-cross will work with the naming scheme I used:
armv4t-crosstool-linux-gnueabi-gcc and so on. Fortunately for me I
never had to do this, as I only had to cross-compile the kernel.
Of course the real answer is to have (or be able to generate) every
possible cross-compiler within the debian distribution or (worse) redo
my crosstool output debian packaging script(s) so that it exactly
matches the usual Debian file and package conventions.
Still, it might just work, who knows?