我想從源代碼編譯器爲Cyclone編程語言構建。我正在運行默認安裝了GCC 4.6.3的32位Ubuntu 12.04。GCC降級問題
但由於bootstrap實用程序中的崩潰導致make失敗。要解決這個問題,我正在嘗試安裝較舊的GCC版本。
我修補了/etc/apt/sources.list,並使用apt-get安裝了gcc-3.3和g ++-3.3。但是,配置時,它被強制使用GCC 3.3腳本失敗:
$ export CC=gcc-3.3
$ export CXX=g++-3.3
$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc-3.3
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
而且顯示的config.log:
...
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
...
LD的版本是2.22