This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross compilation.
- To: luther at dpt-info dot u-strasbg dot fr
- Subject: Re: cross compilation.
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 11 Jun 1998 10:09:43 -0700 (PDT)
- Cc: egcs at cygnus dot com
> 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)