This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with Gcc-3.0.3 cross-compile
- From: Jim Wilson <wilson at redhat dot com>
- To: "Shureih, Tariq" <tariq dot shureih at intel dot com>
- Cc: "'Alexandre Oliva'" <aoliva at redhat dot com>, Joe Buck <jbuck at synopsys dot COM>, wilson at redhat dot com, smc at us dot ibm dot com, gcc at gcc dot gnu dot org
- Date: Mon, 11 Feb 2002 18:43:39 -0800
- Subject: Re: Help with Gcc-3.0.3 cross-compile
>I am building inside a RedHat 7.1 root jail.
>1-Built and installed binutils 2.11.2 for the host system
>(i686-pc-linux-gnu)
>2-built and installed gcc-3.1Expiremental for the host system
>(i686-pc-linux-gnu)
>3-built and installed glibc-2.2.5 for the host system (i686-pc-linux-gnu)
None of these should be necessary.
>4-Built binutils-2.11.2 for cross-compile --target=ia64-pc-linux-gnu and
>installed it in prefix=/home/cross-ia64
Ok.
>5-Built glibc-2.2.5 for cross compile --target=ia64-pc-linux-gnu and
>prefix=/home/cross-ia64
You can't compile a cross glibc if you don't have a cross compiler yet,
so you couldn't have done this at this point.
Anyways, this isn't necessary if you are using --with-libs and --with-headers.
>6-Attempted to build gcc for --target=ia64-pc-linux-gnu as follows:
>Work is done under /cross-compile (cd /cross-compile)
>./gengenrtl: /lib/i686/libc.so.6: version `GCC_3.0' not found (required by
This has something to do with your chroot environment. I don't know what
is wrong here. I'd suggest just building a simple cross compiler without
trying to build the entire world, so that you don't need the chroot
environment.
Jim