GCC in AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

Is it necessary to use the local native compiler - xlc in this case, to
compile gcc ? I have a gcc-4.2.3 installed on AIX and would now like to
install gcc 4.3.2. However if I compile with existing gcc then the
compiles is extremly slow and almost does not do much. It took about a
day to just finish stage-1. I tried to check for any load etc but could
not find any issues with the node. Even rebooted and restarted the
compiles still the same issue. Then I switched to the native xlc and xlC
compilers, the make was fast but got the following error :

"./config.h", line 435.9: 1506-213 (S) Macro name inline cannot be
redefined.
"./config.h", line 435.9: 1506-358 (I) "inline" is defined on line 182
of /cots/gnu/gcc-4.3.2/libiberty/../include/ansidecl..
make[3]: *** [pex-common.o] Error 1
make[3]: Leaving directory `/cots/gnu/build-4.3.2/libiberty'
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory `/cots/gnu/build-4.3.2'

Any ideas as to what the above is. The following configure was given

/cots/gnu/gcc-4.3.2/configure --prefix=/usr/local --disable-multilibs
--enable-languages=c,c++,fortran --enable-threads=aix
--with-mpfr=/usr/local --with-gmp=/usr/local CC=xlc CXX=xlC

Thanks in advance

With Regards

Vardhan


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux