Re: cross-compilers

Tony Breeds
2009-04-09T21:52:07Z

On Wed, Apr 08, 2009 at 05:44:43PM -0700, Andrew Morton wrote:

> Please do.

linux-next is built on powerpc so I needed to rebuild many of the compilers for
intel.

While I was there I "updated to 4.3.3 and a 4.4.0 snapshot (20090216).

I've placed (well am placing):

x86_64 host, gcc 4.3.3, binutils 2.19.1:
alpha-linux
arm-linux
avr-linux
cris-linux
hppa64-linux
hppa-linux
i386-linux
m68k-linux
mipsel-linux
mips-linux
powerpc-linux
s390x-linux
sparc-linux
xtensa-linux

x86_64 host, gcc 4.4.0-20090216, binutils 2.19.1:
alpha-linux
arm-linux
avr-linux
cris-linux
hppa64-linux
i386-linux
m68k-linux
powerpc-linux
s390x-linux
sparc-linux

I haven't succeeded in builting a ia64 compiler, but I'll keep trying.

The i386,powerpc and sparc compilers are biarch and seem to build the 32/64
kernels appropriately.

I'm building i386 hosted compiiler ATM and I'll uplaod them when done.

Looking at the 4.3.3 compilers, asside from ia64 what arches are missing?

> Several people have made suggestions but I don't think I've yet seen
> anything which is download-and-go. Many of them appear to be ways of
> tricking people into installing distributions which include dselect,
> but I'm awake to their little games.

These should all be relocatable, in that you can wack them anywhere (/opt/cross
for me) and set your CROSS_COMPILE var and go.

For what it's worth these compilers were built with something derrived from
the buildall scripts by Segher (http://git.infradead.org/users/segher/buildall.git)

Thanks Segher!

Yours Tony