help building 4.7.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

My configure command looks like (taken from: http://gcc.gnu.org/ml/gcc-testresults/2012-06/msg01675.html )
# ../configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --enable-__cxa_atexit --enable-stage1-languages=c --enable-libssp --enable-targets=x86_64-unknown-linux-gnu --with-gc=page --disable-multilib --enable-nls --enable-threads=posix --prefix=/usr/local --enable-shared --libdir=/usr/local/lib --with-system-zlib --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib --with-mpc-include=/usr/local/include --with-mpc-lib=/usr/local/lib --libexecdir=/usr/local/libexec --with-local-prefix=/usr/local/include --with-gxx-include-dir=/usr/local/include --enable-languages=c,c++,objc,fortran,go --enable-bootstrap

Thanks for any help!
Mark



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux