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