Errors in compile of gcc 3.0.1

best@atoka-software.com best@atoka-software.com
Tue Sep 25 13:48:00 GMT 2001


hello:

i am having problems building gcc 3.0.1.

following the instructions to build in a parallel directory (universe?), =
i=20
get the following errors on make!

gcc: unrecognized option `-DIN_GCC'
gcc: unrecognized option `-DHAVE_CONFIG_H'
In file included from insn-codes.h:426,
                 from config.h:13,
                 from ../../gcc-3.0/gcc/cppspec.c:21:
./../gcc-3.0/gcc/machmode.h:124: parse error before `PARAMS'
./../gcc-3.0/gcc/machmode.h:130: parse error before `PARAMS'
./../gcc-3.0/gcc/machmode.h:136: parse error before `PARAMS'
./../gcc-3.0/gcc/machmode.h:140: parse error before `PARAMS'
./../gcc-3.0/gcc/machmode.h:145: parse error before `PARAMS'
In file included from config.h:13,
                 from ../../gcc-3.0/gcc/cppspec.c:21:
insn-codes.h:428: parse error before `PARAMS'
insn-codes.h:429: parse error before `PARAMS'
.......

my system is linux 2.4.9 with=20
gcc=09=092.96,
make=09=093.79.1
m4 =09=091.4
automake=091.5
autoconf =092.52

i did the following

tar xvzf gcc-3.0.1.tar.gz
mkdir gcc-build
cd gcc-build
export LD_LIBRARY_PATH=;./gcc-3.0.1/configure --prefix=3D/usr
export LD_LIBRARY_PATH=;make CFLAGS=3D'-O' LIBCFLAGS=3D'-g -O2' \
                LIBCXXFLAGS=3D'-g -O2 \
                -fno-implicit-templates' bootstrap

any suggestions are appreciated.

---
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"

RAM wasn't built in a day.



More information about the Gcc-help mailing list