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]
Other format: [Raw text]

Re: Help with Gcc-3.0.3 cross-compile


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


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