Hi
compiled & installed bison 1.875c, make check reported 7 errors. Traced problem to error in gcc-3.4: the default install of /usr/local puts libstdc++ in /usr/local/lib but the gcc code expects it to be in /usr/lib. Rebuilt gcc & installed using --prefix=/usr. Rebuilt bison & installed. Now make check reports all ok.
So back to the patched version of gcc-3.4:
rm -r * in the build directory to start clean.
make -j3 bootstrap - it failed in p then "make bootstrap > emsgs 2>&1" last few lines are:
gcc -o p/parse.o -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -I. -Ip -I../../gcc-3.4.0/gcc -I../../gcc-3.4.0/gcc/p -I../../gcc-3.4.0/gcc/../include -DGPC -I../../gcc-3.4.0/gcc/p ../../gcc-3.4.0/gcc/p/parse.c parse.c:378: warning: useless keyword or type name in empty declaration parse.c:378: warning: empty declaration parse.c: In function `yydoAction': parse.c:8133: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c:8133: error: (Each undeclared identifier is reported only once parse.c:8133: error: for each function it appears in.) parse.c: In function `yyglrReduce': parse.c:8249: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yysplitStack': parse.c:8287: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyresolveStates': parse.c:8386: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyresolveAction': parse.c:8417: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.c: In function `yyprocessOneStack': parse.c:8610: error: `USE_ASSERT_RATHER_THAN_ABORT' undeclared (first use in this function) parse.y: At top level: parse.y:2967: warning: 'locations' defined but not used make[2]: *** [p/parse.o] Error 1 make[2]: Leaving directory `/home/russ/src/gpc-20030830-3.4.0/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/russ/src/gpc-20030830-3.4.0/build/gcc' make: *** [bootstrap] Error 2
h'm looks like same problem last email.
Russ