public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Linux-ia64] Building IA-64 toolchain
@ 2003-05-07 15:14 Jim Wilson
  2003-05-07 15:20 ` Jim Wilson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Jim Wilson @ 2003-05-07 15:14 UTC (permalink / raw)
  To: linux-ia64

On Wed, 2003-05-07 at 12:03, navin wrote:
> 	I am doing a project on compilers.I have to build gcc for ia64.I 
> did build the binutils .In that case i didn't get any compilation errors.
> HOSTMACHINE=i386 pentium
> TARGETMACHINE=ia64

Gcc includes libraries that require access to the standard C library in
order to build.  You must provide the standard C library yourself
somehow.  You have not done this.

If you only want a compiler for building the kernel, then you don't need
any libraries.  In that case, you are already done.  What you have is
good enough to build a kernel.

If you need a complete gcc build, then you will need a C library.  If
you have access to a running ia64-linux system, the easy way to do this
is to copy the IA-64 linux /usr/include and /usr/lib to the x86 machine,
and then configure using --with-headers= and --with-libs= pointing at
the IA-64 header and library directories respectively.

An alternative method is to try to build gcc and glibc in parallel. 
This is not easy.  Offhand, I don't know how to do it, as I have never
tried to do this.

>  --without-headers

There is no such configure option.  The headers are required, and there
is no way to get around this.

> In file included from ../../gcc-3.2/gcc/libgcc2.c:37:
> ../../gcc-3.2/gcc/tsystem.h:63:19: stdio.h: No such file or directory
> ../../gcc-3.2/gcc/tsystem.h:66:23: sys/types.h: No such file or directory
> In file included from 

The standard C library header files are missing.

Jim



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-05-08 17:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-07 15:14 [Linux-ia64] Building IA-64 toolchain Jim Wilson
2003-05-07 15:20 ` Jim Wilson
2003-05-07 16:15 ` navin
2003-05-07 17:41 ` David Mosberger
2003-05-07 17:52 ` navin
2003-05-07 18:05 ` David Mosberger
2003-05-07 18:14 ` Randolph Chung
2003-05-08  8:33 ` navin
2003-05-08 17:24 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox