"Qinghai Zhang" <qz27@xxxxxxxxxxx> writes: > I have Fedora Core 4 installed on my PC and the gcc installed is 4.0.0. > To compile some other older software, I have to have gcc3.3.2 > installed. So I following the standard steps on the website of > gcc.gnu.org: > > tar zxf gcc-3.3.2.tar > ../gccObj/configure --prefix=/usr/local/gcc-3.3.2 > make bootstrap > > However, 'make bootstrap' spat out the following error shortly after it > was launched: > > ../../gcc-3.3.2/gcc/read-rtl.c: In function fatal_with_file_and_line: > ../../gcc-3.3.2/gcc/read-rtl.c:53: warning: traditional C rejects ISO C > style fu nction definitions > ../../gcc-3.3.2/gcc/read-rtl.c: In function read_rtx: > ../../gcc-3.3.2/gcc/read-rtl.c:653: error: invalid lvalue in increment > make[2]: *** [read-rtl.o] Error 1 > make[2]: Leaving directory `/home/qz27/gccObj/gcc' > make[1]: *** [stage1_build] Error 2 > make[1]: Leaving directory `/home/qz27/gccObj/gcc' > make: *** [bootstrap] Error 2 > > > Could you please give me some idea about how to work around this? > Thanks a lot for your help! Use gcc 3.3.6 instead. It's unlikely that there is a program which requires 3.3.2 but can not be built with 3.3.6. If you really just want to patch 3.3.2, this is the patch you want: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/include/obstack.h.diff?r1=1.5&r2=1.5.50.1 Ian