On Wed, 19 Sep 2001, Richard Reich wrote: > Debian GCC maintainers, > > I'm trying to build gcc on my home box, I did apt-get source gcc and > also got a few others, I also did apt-get build-dep gcc. I'm still > getting an error. > > the command I execute to compile gcc is... > ./debian/rules > > /smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5/src-native/libobjc/gc.c:37: > gc.h: No such file or directory > /smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5/src-native/libobjc/gc.c:55: > gc_typed.h: No such file or directory > make[4]: *** [gc_gc.o] Error 1 > make[4]: Leaving directory > `/smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5/build-native/i386-linux/libobjc' > make[3]: *** [all-target-libobjc] Error 2 > make[3]: Leaving directory > `/smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5/build-native' > make[2]: *** [bootstrap-lean] Error 2 > make[2]: Leaving directory > `/smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5/build-native' > s=`cat status`; rm -f status; test $s -eq 0 > make[1]: *** [stamps/05-build-stamp-native] Error 1 > make[1]: Leaving directory `/smb/gcc_bench/gcc2.95.4/gcc-2.95-2.95.4.ds5' > make: *** [stamps/05-build-stamp-native] Error 2 > > is there something that I'm doing wrong? > is there something that I need to install? > any help would be greatly appreciated.
Looks like you don't have libgc6-dev installed. Try invoking the following command before building: apt-get build-dep gcc-2.95 That should install the packages needed to build gcc-2.95. Also, when you want to build the compiler, use: debian/rules build to build the compiler. If you want to build debs, use: debian/rules binary-arch C