On Sun, 27 Mar 2011, Nasser M. Abbasi wrote:
I am trying to build gcc 4.6 which I downloaded today. I followed
all instructions, did the following:
1. build/install m4-latest
2. build/install gmp-5.0.01
3. build/install mpfr-3.0.0
4. build/install mpc-0.9
5. and now for gcc 4.6:
./configure
make
This after about 2 hrs compiling, I get this error:
checking for suffix of object files... configure: error: in
`/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory
`/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0'
See http://gcc.gnu.org/wiki/FAQ item 5.
--
Marc Glisse