This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: AIX 5.3 gcc 4.1.2 bootstrap error
- From: Thomas Mittelstaedt <T dot Mittelstaedt at cadenas dot de>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: Ben Scurr <bs at teamwpc dot co dot uk>, gcc-help at gcc dot gnu dot org
- Date: Tue, 19 Feb 2008 18:03:45 +0100
- Subject: Re: AIX 5.3 gcc 4.1.2 bootstrap error
- References: <47B4375F.6010400@teamwpc.co.uk> <20080214134433.GA10222@ins.uni-bonn.de>
Ben,
I had success building gcc 4.2.2 on aix 5.2 recently via the following
script:
CONFIG_SHELL=/usr/bin/bash
CC=/opt/gcc-4.1.1/bin/gcc # path to the bootstrap compiler
../gcc-4.2.2/configure --enable-version-specific-runtime-libs
--enable-static --
enable-shared --enable-threads --with-as=/usr/bin/as --without-gnu-ld
--with-ld=
/usr/bin/ld --prefix=/opt/gcc-4.2.2 --disable-nls --with-pic
--disable-symvers -
-enable-symvers=no --enable-languages=c,c++,objc
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-i
mplicit-templates' bootstrap
Ralf Wildenhues schrieb:
Hello Ben,
* Ben Scurr wrote on Thu, Feb 14, 2008 at 01:43:11PM CET:
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as
I do not know whether it has to do with your issue, but your build tree
should be separate from your source tree, and it also should not be a
subdir of your source tree.
Cheers,
Ralf