This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building G.C.C 4.3.3 on Centos 5.5
- From: Moran Smith <mrmoranxp at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 12:25:48 +0400
- Subject: Building G.C.C 4.3.3 on Centos 5.5
Hello,
I'm trying to build gcc-4.3.3 (C, C++) on a CentOS 5.5 system (gcc 4.1.2).
But I'm hitting an error I don't know how to deal correct.
Configure:
/worktable/gcc-4.3.3/configure --program-suffix=-4.3.3
--enable-version-specific-runtime-libs --enable-languages=c,c++
--disable-nls --with-mpfr=/usr/local
--with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib
I get the following error during "make bootstrap":
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 for --enable-version-specific-runtime-libs... yes
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... /worktable/gcc-4.3.3-objdir/./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...
/worktable/gcc-4.3.3-objdir/./gcc/xgcc
-B/worktable/gcc-4.3.3-objdir/./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 `/worktable/gcc-4.3.3-objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/worktable/gcc-4.3.3-objdir'
make: *** [bootstrap] Error 2
config.log from x86_64-unknown-linux-gnu-gcc/libgcc:
extra_parts=''
fixed_point=''
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='/worktable/gcc-4.3.3/libgcc/..'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,$,-4.3.3,'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
sharedstatedir='${prefix}/com'
slibdir='$(libsubdir)'
sysconfdir='${prefix}/etc'
target_alias='x86_64-unknown-linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
tmake_file=''
vis_hide=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
configure: exit 1
Any suggestions?
With best regards,
? ? ? ? ? ? ? ? ? ? ? ? Ruslan.