Sangamesh B wrote: > Hello everyone, > > I'm trying to install GCC-4.3.0 from source on Rocks-5.0. Rocks > is a clustering tool based on Cent OS 5.0 LINUX. > > The configure is: > > # /export/packages/compilers/GNU/gcc-4.3.0/configure > --with-mpfr=/export/packages/compilers/GNU/mpfr > --with-gmp=/export/packages/compilers/GNU/gmp > --enable-languages=c,c++,fortran | tee gcc430_ccf_config_out > > During make, its failing with following error: > > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c > checking for gawk... gawk > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for x86_64-unknown-linux-gnu-ar... ar > checking for x86_64-unknown-linux-gnu-lipo... lipo > checking for x86_64-unknown-linux-gnu-nm... > /export/packages/compilers/GNU/gcc430/./gcc/nm > checking for x86_64-unknown-linux-gnu-ranlib... ranlib > checking for x86_64-unknown-linux-gnu-strip... strip > checking whether ln -s works... yes > checking for x86_64-unknown-linux-gnu-gcc... > /export/packages/compilers/GNU/gcc430/./gcc/xgcc > -B/export/packages/compilers/GNU/gcc430/./gcc/ > -B/usr/local/x86_64-unknown-linux-gnu/bin/ > -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem > /usr/local/x86_64-unknown-linux-gnu/include -isystem > /usr/local/x86_64-unknown-linux-gnu/sys-include > checking for suffix of object files... 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 `/export/packages/compilers/GNU/gcc430' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/export/packages/compilers/GNU/gcc430' > make: *** [all] Error 2 > > For more details, attached here the config.log. > > Can anyone point out why its failing? You have the environment variable CC set to something very weird. Andrew.