Re: [Linux-ia64] Cant compile compiler

From: Uros Prestor <uros_at_turbolinux.com>
Date: 2000-02-22 04:50:36
Venkatesh Ramamurthy <Venkateshr@ami.com> said: 

> when i compile the ia64 cross compiler , i seem to get error syaing that
> cant include header stdlib.h and unistd.h in file gcc/ libgcc2.c . I
> remember a special mention about these files in IDF . Can anyone point out
> what i am missing?

You need to have IA-64 include files and IA-64 libraries to bootstrap
the compiler.  Install /usr/include and /usr/lib from the Trillian CD
somewhere on your system, install IA-64 kernel sources and make sure
your IA-64 /usr/include/{asm,linux} point to the IA-64 kernel headers.
After you've done this, configure gcc with

    ../src/configure --with-headers=/your/usr/include \
	--with-libs=/your/usr/lib --target=ia64-cygnus-linux \
	--program-prefix=ia64-cygnus-linux-

This should give you the cross compiler with all commands prefixed
with `ia64-cygnus-linux-'.

Uros
Received on Mon Feb 21 09:50:38 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:19:58 EST