Originally posted by: SystemAdmin
See the
"g++-4.0.0 for aix5.3L and stdc++"
topic in this same forum.
(http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=747&thread=138005&cat=72)
Unfortunately, after several dozen hours, I too have been unable to install gcc-4.0.0-1.aix5.3.ppc.rpm for successful g++ use.
Over the last month several people have reported problems that prevented them installing gcc-4 on aix-5.3 from the binary above. Some have reported
partial success with compiling and linking c-only programs.
If you find a solution to installing g++-4 on aix-5.3,
please publish it on this forum in the
"g++-4.0.0 for aix5.3L and stdc++"
topic.
So far, I know the following have been unsuccessfully tried.
o installing from gcc-4.0.0-1.aix5.1.ppc.rpm
o using -isystem, -I, -L, CPATH to override search paths
o altering the gcc spec file
The following met with limited success (i.e. some programs functioned intermittently).
o using the gcc-3 spec file as gcc-4 spec file
o building on aix-5.1 and executing on aix-5.3
I haven't had contact with anyone who tried building gcc-4 from source on aix-5.3.
An ambiguous reference at
http://www.gnu.org/software/gcc implies that a bug in aix-5.3's libc.a prevents compilation from source.
Regretfully reporting,