Re: GCC in AIX

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

 



Vardhan, Sundara (GE Infra, Energy) wrote:

> 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.

Well, you know, if I were there I would have actually looked inside
./config.h" to see what xlc was complaining about.  It might be interesting.

You could try that.  And if you find out that inline is being incorrectly
redefined, you could fix it.

Andrew.

[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