I'm trying to build from source compiler for Cyclone programming language. I'm running 32-bit Ubuntu 12.04 with GCC 4.6.3 install by default.
But make fails due to crash in bootstrap utility. To workaround this I'm trying to install older GCC version.
I've patched /etc/apt/sources.list and installed gcc-3.3 and g++-3.3 using apt-get. But configure script fails when it is forced to use 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.
And config.log shows:
...
/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
...
Version of ld is 2.22
apt-file search crt1.o
shows you which packages contain this file. If it doesn't print anything, runapt-file update
once.