This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Error in compilation of GCC 3.0.3
- From: Johan van den Berg <vdberj at learn dot unisa dot ac dot za>
- To: gcc at gnu dot org
- Date: Thu, 7 Feb 2002 11:11:51 +0200
- Subject: Error in compilation of GCC 3.0.3
Here is my story:
OS: i386-sequent-sysv4
I compiled and installed the following:
* GNU make 3.79
* GNU sed 3.02
* GNU bison 1.32
* flex 2.5.4a
* GNU binutils 2.11.2
I renamed /usr/local/bin/as to /usr/local/bin/gas (gcc expects sequent as)
I also renamed /usr/local/i386-sequent-sysv4/bin/as
I built and installed gcc-2.8.1 under /opt/gcc-2.8.1.
I set the path to /opt/gcc-2.8.1:/usr/local/bin:/usr/bin:/bin:.
I extracted the source for gcc-3.0.3, and created a native obj directory:
/home/vdberj/gcc-3.0.3/obj-sequent.
In that directory, I ran:
../configure --with-gnu-ld --enable-languages=c,c++
make -j 3 bootstrap (or) make bootstrap (both fail)
Then, after about 30min of compiling, I get this:
cc -DIN_LIBGCC1 -O -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -DL_mulsi3 -c ../../gcc/libgcc1.c -o libgcc/_mulsi3.o
"../../gcc/machmode.h", line 124: syntax error, probably missing ",", ";" or "="
"../../gcc/machmode.h", line 124: syntax error before or at: PARAMS
"../../gcc/machmode.h", line 125: warning: syntax error: empty declaration
"../../gcc/machmode.h", line 130: syntax error, probably missing ",", ";" or "="
"../../gcc/machmode.h", line 130: cannot recover from previous errors
make[3]: *** [libgcc/_mulsi3.o] Error 1
make[3]: Leaving directory `/home/vdberj/gcc/gcc-3.0.3/obj-sequent/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/vdberj/gcc/gcc-3.0.3/obj-sequent/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/vdberj/gcc/gcc-3.0.3/obj-sequent/gcc'
make: *** [bootstrap] Error 2
Question: Do you know why this is hapening?
Question: Why is it using cc, when using gcc-2.8.1 for the rest?
Possibility: It seems as though my cc doesn't undestand PARAMS.
Any help would be appreciated. Thank you beforehand.
Johan van den Berg