This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

cross gcc host HPUX11 target SPARC solaris2 HELP!


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
 
$target= 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 libiberty)
 
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
 
 
 
 

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