cross gcc host HPUX11 target SPARC solaris2 HELP!

Paolo Olivari paolo%ic9ws17.settimo.italtel.it@italtel.net
Wed Jul 12 02:48:00 GMT 2000


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

 
host= hppa1.1-hp-hpux11.00
 
$tar get= 
sparc-sun-solaris2
 
i have successifully built binutils-2.10 and then i 
run
 
../gcc-2.95.2 /configure --target=$target --prefix=$prefix -v
make all install 
 
as described in http://www.objsw.com/CrossGCC/
everything goes fine
 
BUT
 
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 ...
 
bye
paolo olivari, milan, italy
 
 
 
 



More information about the crossgcc mailing list