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: Alexandre Oliva <aoliva at redhat dot com>
- To: Jim Wilson <wilson at redhat dot com>
- Cc: "Shureih, Tariq" <tariq dot shureih at intel dot com>, Joe Buck <jbuck at synopsys dot COM>, smc at us dot ibm dot com, gcc at gcc dot gnu dot org
- Date: 12 Feb 2002 04:59:47 -0200
- Subject: Re: Help with Gcc-3.0.3 cross-compile
- Organization: GCC Team, Red Hat
- References: <200202120243.g1C2hdl15528@renascence.sfbay.redhat.com>
On Feb 12, 2002, Jim Wilson <wilson@redhat.com> wrote:
>> 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.
Also, for glibc, it's not --target, it's --host that you want to
specify, since the glibc you want to build is something that will
*run* (i.e., be hosted on) ia64-pc-linux-gnu, not something that
should generate code for ia64-pc-linux-gnu. --target is pointless for
glibc.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer