On Wed, Nov 05, 2008 at 03:12:27PM -0500, Frank Lagor wrote: > Hello, > > I am trying to install the set of gcc compilers on a small parallel > computing cluster, but I have been having a little trouble. > > I installed GMP and MPFR and this seemed to work fine. After I > configure gcc for the install, the make step fails. I get the > following error, and unfortunately it is not immediately clear to me > how I can fix the problem > > checking for x86_64-unknown-linux-gnu-gcc.. > . /ronaldo/pkg/dfranci/gccObjDir/./gcc/xgcc > -B/ronaldo/pkg/dfranci/gccObjDir/./gcc/ > -B/ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/bin/ > -B/ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/lib/ > -isystem /ronaldo/pkg/dfranci/gccCompilers-4.3.2/x86_64-unknown-linux-gnu/include > -isystem /ronaldo/pkg/dfranci/gccCompilers-4.3.2/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 `/ronaldo/pkg/dfranci/gccObjDir' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/ronaldo/pkg/dfranci/gccObjDir' > make: *** [all] Error 2 > > > I have tried to attach the config.log. Here are the configure options > I specified: > > ../gcc-4.3.2/configure --enable-shared --with-cpu-64 > --enable-languages=all --with-gmp=/ronaldo/pkg/dfranci/gmp-4.2.4 > --with-mpfr=/ronaldo/pkg/dfranci/mpfr-2.3.2 > --prefix=/ronaldo/pkg/dfranci/gccCompilers-4.3.2 I usually see this if I build gmp and mpfr without using --disable-shared and the compiler is linked against the shared library. I imagine you can set LD_LIBRARY_PATH or edit where the system finds shared libraries to allow the compiler to find the shared gmp/mpfr (though it is possible it might make other programs that use gmp/mpfr to behave differently if they load up a different version than they were linked against). -- Michael Meissner, IBM 4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA meissner@xxxxxxxxxxxxxxxxxx