Hi Rohit Do not know if you were able to build 4.3.2 on AIX, but I was able to : 1. CONFIG_SHELL=/usr/bin/bash; export CONFIG_SHELL 2. make a separate directory for gcc build which is different from where source is present. 3. cd to build directory and run configure script from the gcc directory with the options you want to. This should have gcc compiled. With Regards Vardhan -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of Rohit Sent: Wednesday, November 19, 2008 2:21 PM To: David Edelsohn Cc: gcc-help@xxxxxxxxxxx Subject: Re: gcc 4.3.2 compilation failure on aix 5.3 btw when i try to run the configure part of fmodl separately it does not seem to have any issue. correct contest file is created. There is also conftest.err with conftest.c:121: warning: conflicting types for built-in function 'fmodl' but i do not think this is any issue. I am not getting why it exits at this point. Can you copy paste your configure options here ? or any other options you used for compilation that matter ? -Rohit On Wed, Nov 19, 2008 at 1:47 PM, David Edelsohn <dje.gcc@xxxxxxxxx> wrote: > [Redirecting to gcc-help] > > On Wed, Nov 19, 2008 at 1:36 PM, Rohit <will.u.tellmemore@xxxxxxxxx> wrote: > >> I have not specified any options to configure. >> just ./configure and gmake > >> libstdc++v3 is being compiled with (this is from config.log ) >> >> /mnt/gcc-4.3.2/libstdc++-v3/configure --cache-file=./config.cache >> --enable-multilib --enable-languages=c,c++,fortran,java,objc >> --program-transfor >> m-name=s,y,y, --with-target-subdir=powerpc-ibm-aix5.3.0.0 >> --build=powerpc-ibm-aix5.3.0.0 --host=powerpc-ibm-aix5.3.0.0 >> --target=powerpc-ibm-aix5.3.0.0 --srcd >> ir=../../gcc-4.3.2/libstdc++-v3 >> >> Any ideas why it might be failing. config.cache remains empty and >> every time i do this it takes lot of time as it tries to do all this >> again. Looks like this is 3 rd stage in compilation. >> cat stage_* show stage3 for all three files. Is there any workaround >> to skip this. I do not really care what the output gcc will be >> capable off. it should just be able to compile itself. Its more of an >> i/o test in my setup. >> I can provide more information if required. > > Did you read and follow the AIX-specific installation instructions? > > http://gcc.gnu.org/install/specific.html#x-ibm-aix > > If you use Bash, the configure step is much faster. > > GCC does not configure and build Java by default on AIX, so I am > surprised that Java is listed as an enabled language. > > I have built GCC 4.3.2 on AIX 5.3.0.0, and did not experience the > fmodl conflict. > > David >