I am trying to compile gcc 4.3.2 on Solaris 8 and ran into some problems. I am looking for some help on how to overcome this. The source is configured with nohup ./configure --prefix=/home/kkusuman/software/myroot 2>&1 > configure.log & and then it is compiled with nohup make 2>&1 > make.log & During the compilation, make fails with the following errors cc -c -g -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/i nclude -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/dpd -I../libdecnumber -I/home/kkusuman/software/myroot/include ../../. /gcc/c-common.c -o c-common.o "../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no... "../.././gcc/c-common.c", line 2259: syntax error before or at: || "../.././gcc/c-common.c", line 2259: invalid token: unsigned_short_frac... "../.././gcc/c-common.c", line 2259: invalid token: unsigned_short_frac... "../.././gcc/c-common.c", line 2259: invalid token: short_fract_type_no... "../.././gcc/c-common.c", line 2259: invalid token: fract_type_node "../.././gcc/c-common.c", line 2259: syntax error before or at: || "../.././gcc/c-common.c", line 2259: invalid token: unsigned_fract_type... "../.././gcc/c-common.c", line 2259: invalid token: unsigned_fract_type... "../.././gcc/c-common.c", line 2259: invalid token: fract_type_node "../.././gcc/c-common.c", line 2259: invalid token: long_fract_type_nod... "../.././gcc/c-common.c", line 2259: syntax error before or at: || "../.././gcc/c-common.c", line 2259: invalid token: unsigned_long_fract... "../.././gcc/c-common.c", line 2259: invalid token: unsigned_long_fract... "../.././gcc/c-common.c", line 2259: invalid token: long_fract_type_nod... "../.././gcc/c-common.c", line 2259: invalid token: long_long_fract_typ... "../.././gcc/c-common.c", line 2259: syntax error before or at: || "../.././gcc/c-common.c", line 2259: invalid token: unsigned_long_long_... "../.././gcc/c-common.c", line 2259: invalid token: unsigned_long_long_... "../.././gcc/c-common.c", line 2259: invalid token: long_long_fract_typ... "../.././gcc/c-common.c", line 2261: invalid token: short_accum_type_no... ................... cc: acomp failed for ../.././gcc/c-common.c make[3]: *** [c-common.o] Error 2 make[3]: Leaving directory `/home/kkusuman/software/compileHere/gcc-4.3.2/host-sparc-sun-solaris2.8/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/kkusuman/software/compileHere/gcc-4.3.2' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/kkusuman/software/compileHere/gcc-4.3.2' make: *** [all] Error 2 The configure.log, make.log are attached for your reference. What should I do to bootstrap gcc?
Attachment:
configure.log
Description: Binary data
Attachment:
make.log
Description: Binary data