Re: arm + sh cross compile suite for amd64 (i386)?

From: Andrew Morton
Date: Mon Aug 07 2006 - 18:21:23 EST


On Mon, 7 Aug 2006 23:06:25 +0200
Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:

> On Mon, Aug 07, 2006 at 11:02:09PM +0200, Sam Ravnborg wrote:
>
> > So for sh I would expect the following is a better fix:
>
> Reminds me. Anyone has a pointer to arm+sh gcc + binutils cross-compile
> suite that can run on my amd64 box?
> My usual source: http://developer.osdl.org/dev/plm/cross_compile/
> did have neither sh nor arm :-(
>

I was somewhat-successful in building those up. From my notes:

arm:
eval `cat arm.dat gcc-3.4.5-glibc-2.3.6.dat` sh all.sh --notest

sh4:
eval `cat sh4.dat gcc-3.4.5-glibc-2.3.6.dat` sh all.sh --notest

when you've struggled with crosstool for long enough, that'll become
meaningful ;)


fwiw, I've uploaded x86 binaries to http://userweb.kernel.org/~akpm/.
They're a bit flakey but seem to be good enough to get through a defconfig
build. The main problem is fancy machine-specific binutils options which
are present in the kernel Makefiles but which stock binutils doesn't know
about.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/