This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cross compilation.


> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]