I'm trying to compile gcc-4.3
Here is my configuration details
/home/vova/tmp/gcc-4.3.0/configure --prefix=/opt/gcc-4.3.0
--enable-threads=posix --disable-checking --disable-libunwind-exceptions
--with-system-zlib --with-gmp=/opt/gmp-4.2.2 --with-mpfr=/opt/mpfr-2.3.1
--enable-__cxa_atexit --enable-languages=c,c++
uname -a
Linux localhost.localdomain 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
unknown
CC and CXX point to working GCC 4.2.3 intallation.
Here is the last messages from compilation log. If you need any additional
details, I'll provide them with pleasure.
cp /home/vova/tmp/gcc-4.3.0/gcc/../fixincludes/README-fixinc
include-fixed/README
chmod a+r include-fixed/README
echo timestamp > stmp-int-hdrs
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh /home/vova/tmp/gcc-4.3.0/gcc/mkconfig.sh tconfig.h
make[3]: Leaving directory `/home/vova/tmp/objdir/gcc'
mkdir -p -- i686-pc-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in i686-pc-linux-gnu/libgcc
configure: creating cache ./config.cache
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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-lipo... lipo
checking for i686-pc-linux-gnu-nm... /home/vova/tmp/objdir/./gcc/nm
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... /home/vova/tmp/objdir/./gcc/xgcc
-B/home/vova/tmp/objdir/./gcc/ -B/opt/gcc-4.3.0/i686-pc-linux-gnu/bin/
-B/opt/gcc-4.3.0/i686-pc-linux-gnu/lib/ -isystem
/opt/gcc-4.3.0/i686-pc-linux-gnu/include -isystem
/opt/gcc-4.3.0/i686-pc-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 `/home/vova/tmp/objdir'
make[1]: *** [stage1-bubble] Error 2
--
Summary: configure: error: cannot compute suffix of object files:
cannot compil
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: info at yourkit dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36248