From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darren Cubbage To: "'gcc-help@gcc.gnu.org'" Subject: Linux->sparc-sun-solaris cross compiler Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <1BD9BB6BF02AD211AE2400104B59E64E01651015@RDEX1> X-SW-Source: 2000-q1/msg00295.html Message-ID: <20000401000000.k4DMrdEA1xHkuza_YlSLmLyfqx73jSUTHmvYoBayp20@z> 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