cross gcc host HPUX11 target SPARC solaris2 HELP!

Paolo Olivari
Wed Jul 12 02:48:00 GMT 2000

is there anybody in this list who can help 
i am trying to build a gcc cross on my HP 

host= hppa1.1-hp-hpux11.00
$tar get= 
i have successifully built binutils-2.10 and then i 
../gcc-2.95.2 /configure --target=$target --prefix=$prefix -v
make all install 
as described in
everything goes fine
when make starts building libgcc.a i  have the following errors:
../../gcc-2.95.2/gcc/libgcc2.c:41: stdlib.h: No 
such file or directory
../../gcc-2.95.2/gcc/libgcc2.c:42: unistd.h: No 
such file or directory 
if i copy files from /usr/include make goes on 
but i get a bad gcc-cross
(it won't compile l ibiberty)
The question is: must i get the include files from 
a sparc system?
i need this compiler because i want to build linux 
kernel for sparc 
on my hp ... thanks in advance ...
paolo olivari, milan, italy

More information about the crossgcc mailing list