This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error in build when execute "make bootstrap" and "make"
- From: Hua Jie Lee <h dot lee2 at pgrad dot unimelb dot edu dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 08 Oct 2007 18:49:34 +1000 (EST)
- Subject: Error in build when execute "make bootstrap" and "make"
Hi there,
Currently, I am using GCC.4.2.1 on Ubuntu 6.06. And I have recently
installed GCC and it all works fine including compiling and make.
However, when I want to re compile and make in the Build folder created as
part of GCC, the below error seen:-
i) When I executed "make bootstrap"
make[3]: Entering directory `/home/jason/local/gcc/build/gcc'
mawk -f ../../gcc-4.2.1/gcc/opt-functions.awk -f
../../gcc-4.2.1/gcc/opth-gen.awk \
< optionlist > tmp-options.h
/bin/sh: optionlist: No such file or directory
make[3]: *** [s-options-h] Error 1
make[3]: Leaving directory `/home/jason/local/gcc/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/jason/local/gcc/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/jason/local/gcc/build'
make: *** [bootstrap] Error 2
ii) When I executed "make install"
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: Leaving directory `/home/jason/local/gcc/build/fixincludes'
make[1]: *** [install-fixincludes] Error 2
make[1]: Leaving directory `/home/jason/local/gcc/build'
make: *** [install] Error 2
Please advise as I have been stuck and couldnt do anything. I tried to
find more info from the past forums yet it couldnt help.
Thanks.
Regards,
Jason