Linux->sparc-sun-solaris cross compiler
Darren Cubbage
darren_cubbage@systemsunion.com
Mon Feb 28 02:28:00 GMT 2000
I am trying tto build a cross-compiler on my linux box for the
sparc-sun-solaris2.7
Steps taken:
i) built the binutils package.
ii) copied the sparc runtime headers and libraries from /usr/include and
/usr/ccs/lib respectively.
iii) ~/gcc-2.95.2/configure --prefix=/home/rddcubba/local/cross-tools
--target=sparc-sun-solaris2.7
iv) make LANGUAGES="c c++" cross
I then get the following error:
/home/rddcubba/build/gcc-2.95/solaris/gcc/xgcc
-B/home/rddcubba/build/gcc-2.95/solaris/gcc/
-B/home/rddcubba/local/cross-tools/sparc-sun-solaris2.7/bin/ -c -g -O2
-fno-implicit-templates -I. -I/home/rddcubba/gcc-2.95.2/libio -nostdinc++
/home/rddcubba/gcc-2.95.2/libio/iostream.cc
/home/rddcubba/gcc-2.95.2/libio/iostream.cc:40: printf.h: No such file or
directory
make[2]: *** [iostream.o] Error 1
make[2]: Leaving directory
`/home/rddcubba/build/gcc-2.95/solaris/sparc-sun-solaris2.7/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/home/rddcubba/build/gcc-2.95/solaris'
On searching on the sun box, I cannot find a printf.h file. I have searched
through the help archives but cannott find any help in relation to this
specific problem.
Any help greatly appreciated.
Darren Cubbage
More information about the Gcc-help
mailing list