Originally posted by: SystemAdmin
Here is how last compile was configured.
./configure
--prefix=/usr/local/gcc-3.46 \
--enable-languages=c,c++ \
--with-pic \
--enable-shared=libgcc,libgcc_s,libffi,zlib,boehm-gc,libjava2 \
--enable-threads=posix
Here is how makefile was run
gmake CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-template ' bootstrap
Here are the errors I get
checking for powerpc-ibm-aix5.2.0.0-gcc... /usr/sys/inst.images/gcc346/gcc-build/gcc/xgcc -B/usr/sys/inst.images/gcc346/gcc-build/gcc/ -B/usr/local/gcc-3.4.6/powerpc-ibm-aix5.2.0.0/bin/ -B/usr/local/gcc-3.4.6/powerpc-ibm-aix5.2.0.0/lib/ -isystem /usr/local/gcc-3.4.6/powerpc-ibm-aix5.2.0.0/include -isystem /usr/local/gcc-3.4.6/powerpc-ibm-aix5.2.0.0/sys-include -maix64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
gmake[1]: ***
configure-target-libstdc++-v3 Error 1
gmake[1]: Leaving directory `/usr/sys/inst.images/gcc346/gcc-build'
gmake: ***
bootstrap Error 2
Here is what is written in config.log
configure:3917: checking for ranlib
configure:3956: checking for powerpc-ibm-aix5.2.0.0-windres
configure:3989: checking for windres
configure:4056: checking whether to enable maintainer-specific portions of Makefiles
I am not sure how to fix this error or what is missing on the AIX system.
Please help!!!!!!!