install older version than 4.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there:

   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!

Qinghai


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux