Click to See Complete Forum and Search --> : installing a cross compiler


brjames
10-27-2003, 07:57 PM
I'm trying to install the gcc cross compiler for h8300 hitachi hms.

I think I've gotten it to compile fine, but then the compilation gets this error:

test x"no" != xyes || \
/home/gjlr78/ECE595/build/gcc-2.95.2/gcc/xgcc -B/home/gjlr78/ECE595/build/gcc-2.95.2/gcc/ -B/home/gjlr78/ECE595/h8300-hitachi-hms/bin/ -c -DHAVE_CONFIG_H -g -Os -I. -I./../../include choose-temp.c -o pic/choose-temp.o
/home/gjlr78/ECE595/build/gcc-2.95.2/gcc/xgcc -B/home/gjlr78/ECE595/build/gcc-2.95.2/gcc/ -B/home/gjlr78/ECE595/h8300-hitachi-hms/bin/ -c -DHAVE_CONFIG_H -g -Os -I. -I./../../include choose-temp.c
choose-temp.c
choose-temp.c:29: stdio.h: No such file or directory
choose-temp.c:30: sys/types.h: No such file or directory
choose-temp.c:32: unistd.h: No such file or directory
choose-temp.c:35: stdlib.h: No such file or directory
choose-temp.c:38: sys/file.h: No such file or directory
make[1]: *** [choose-temp.o] Error 1

I think what its doing is trying to test out the new cross compiler, but cant find the standard include files (probably because I havent downloaded the programming environment for it yet, but i dont want to program for linux anyway). I'm not too familiar with bash, but is there some way to not get it to test this out? Or do i need to download some header files somewhere?