On 8 March 2013 19:10, Koenig, Mark (ISS SCI - Plano, TX) wrote: > I'm trying to build gcc 4.7.1 on a Sandybridge system, running RHEL6.2 > > Doesn't seem to matter what I do, I always get this error... > > mkdir -p -- x86_64-unknown-linux-gnu/libgcc > Checking multilib configuration for libgcc... > Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc > configure: creating cache ./config.cache > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c > checking for gawk... gawk > 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... /mops/linux/gcc/gcc-4.7.1/buildobjs/./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... /mops/linux/gcc/gcc-4.7.1/buildobjs/./gcc/xgcc -B/mops/linux/gcc/gcc-4.7.1/buildobjs/./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: in `/mops/linux/gcc/gcc-4.7.1/buildobjs/x86_64-unknown-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 See http://gcc.gnu.org/wiki/FAQ#configure_suffix Try the build instructions at http://gcc.gnu.org/wiki/InstallingGCC instead, 9 out of 10 cats prefer it.