This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error when compiling gcc 4.3.1
- From: Jerry Adair <Jerry dot Adair at sas dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 27 Feb 2009 15:27:05 -0500
- Subject: Error when compiling gcc 4.3.1
Hi all-
I am encountering a somewhat puzzling error when attempting to build gcc on an HP Itanium box (ia64-hp-hpux11.31). I've done a google search to see what I could find WRT others having encountered this error too, but nothing resulted, at least that was/is directly applicable. Mysteriously, the error is telling me that there is no rule to make all (and I didn't find a Makefile in the gcc subdirectory) in my build tree! I ran the following configure command:
../gcc-4.3.1/configure --prefix /u/jeadai/GCC --with-gmp=/u/jeadai/GCC --with-mpfr=/u/jeadai/GCC
Where gcc-4.3.1 is where the source is located and gcc-4.3.1-BuildTree being where I am actually doing the compile. I then issued the make bootstrap command, which built some of gcc, but when execution flowed into the gcc subdirectory, I got the strange error followed by an early termination of the make bootstrap, thus:
....
....
rm -f libdecnumber.a
ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o
ranlib libdecnumber.a
make[3]: Leaving directory `/r/ge.unx.sas.com/vol/vol4/u42/jeadai/GCC/gcc-4.3.1-BuildTree/libdecnumber'
make[3]: Entering directory `/r/ge.unx.sas.com/vol/vol4/u42/jeadai/GCC/gcc-4.3.1-BuildTree/gcc'
make[3]: *** No rule to make target `all'. Stop.
make[3]: Leaving directory `/r/ge.unx.sas.com/vol/vol4/u42/jeadai/GCC/gcc-4.3.1-BuildTree/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/r/ge.unx.sas.com/vol/vol4/u42/jeadai/GCC/gcc-4.3.1-BuildTree'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/r/ge.unx.sas.com/vol/vol4/u42/jeadai/GCC/gcc-4.3.1-BuildTree'
make: *** [cleanstrap] Error 2
GCC/gcc-4.3.1-BuildTree>
Thanks,
Jerry