This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

build of gcc 3.0.1 problems


hello:

i am having problems building gcc 3.0.1.

following the instructions to build in a parallel directory (universe?), i 
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 
gcc		2.96,
make		3.79.1
m4 		1.4
automake	1.5
autoconf 	2.52

i did the following

tar xvzf gcc-3.0.1.tar.gz
mkdir gcc-build
cd gcc-build
../gcc-3.0.1/configure --prefix=/usr
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-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"
Current date: 14:2:20::266:2001

RAM wasn't built in a day.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]