Compiling gcc 3.3.2 on AIX 64 bit platform

Rajesh Pethe rajesh.pethe@gmail.com
Tue Mar 27 14:06:00 GMT 2007


Hi All,

 I need to install gcc compiler on AIX ( powerpc-ibm-aix5.2.0.0 ) but
there is no working C compiler available on host. Is building a native
C compiler a solution for this?

 I tried doing that using 'sh configure --enable-bootstrap
--prefix...' and it is still looking for a working compiler. Error -

 Assembler:
 /tmp/ccuFE7td.s: line 10: 1252-191 Only .llong should be used for
relocatable expressions.
 *** The command 'gcc -o conftest -O2   conftest.c' failed.
 *** You must set the environment variable CC to a working compiler.

I have already tried setting OBJECT_MODE environment variable.
I have no idea why the C compiler is not working. Any inputs, links
will be much appreciated.

 Regards
 Rajesh



More information about the Gcc-help mailing list