Compiling 970924 snapshout on redhat4.2 PPRO to target 68k-coff
Lachlan Audas
laudas@ibm.net
Tue Sep 30 15:33:00 GMT 1997
Hi Guy's,
First my complements on all the hard work you guy's are doing.
This is my first try on using the egs. I downloaded the full 970924
snapshot, and compiled it for a linux target, which worked fine.
(oh my box is redhat4.2 on a 200mhz PPRO and 128 meg of ram)
But then I tried compiling for 68k-coff target, and got this include
error message.
The file's it's asking for stdio.h and ctype.h should be around I
assume. But for some reason it can't find them.
Note I have no problem's compiling up the standard GNU gcc (just tried
2.7.2.3 worked fine)
gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -DHAVE_CONFIG_H -o collect2
collect2.o tlink.o hash.o \
cplus-dem.o underscore.o version.o choose-temp.o obstack.o ` case
"gcc" in "cc") echo "" ;; esac `
rm -f ld
ln collect2 ld
/work/egcs/egcs-970924/gcc/xgcc -B/work/egcs/egcs-970924/gcc/
-DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -I. -I. -I./config \
-c ./objc/hash.c -o objc/hash.o
In file included from ./objc/hash.c:31:
objc/runtime.h:31: stdio.h: No such file or directory
objc/runtime.h:32: ctype.h: No such file or directory
In file included from objc/runtime.h:38,
from ./objc/hash.c:31:
include/objc/objc-api.h:33: stdio.h: No such file or directory
make[1]: *** [objc/hash.o] Error 1
make[1]: Leaving directory `/work/egcs/egcs-970924/gcc'
make: *** [all-gcc] Error 2
Thanks
Lachlan Audas
laudas@ibm.net
More information about the Gcc-bugs
mailing list