cross compilation.

H.J. Lu hjl@lucon.org
Thu Jun 11 11:04:00 GMT 1998


> funny, i need a compiled glibc to compile the cross compiler
> that will permit me to compile glibc ...
> 
> perhaps i should try with an older version of glibc and hope that it works.
> 

Cross compiling is very tricky. It can be done if you know what you
are doing. I have set up cross-compiling systems on my linux/x86/libc5
to linux/x86/glibc 2, linux/m68k/glibc 2, linux/arm/glibc 2,
linux/mips/glibc 2, linux/ppc/glibc 2 and linux/sparc/glibc 2.
linux/alpha/glibc 2 doesn't work because egcs doen't support
32bit host to 64bit target for alpha. You can get

ftp://ftp.yggdasil.com/private/hjl/gnudev.ps.gz

It has some info on how to set up a cross-compiling system.



-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list