This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3 build on AIX 5.2, done
- From: Alexy Khrabrov <alexy dot khrabrov at setup dot org>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: alexy at setup dot org, gcc at gcc dot gnu dot org
- Date: Thu, 3 Jul 2003 14:29:11 -0400
- Subject: Re: GCC 3.3 build on AIX 5.2, done
- References: <alexy.khrabrov@setup.org> <200307020341.XAA29786@makai.watson.ibm.com>
I've built GCC 3.3 on AIX 5.2, powerpc 64 bit.
As I indicated earlier, the following aspects
were troublesome:
-- IBM-packaged gcc 2.9-aix51 fails to bootstrap
-- Native cc bootstraps only after 2.5 tweaks,
the .5 being that the first tweak is two-step:
(1.) in ../gcc-3.3/gcc/intl/plural.c, remove const
qualifier of the 2nd parameter in the prototype, pexp.
(Totally and absurdly, patently wrong, but works(?!))
bootstrap.
(1.5) put the const back! proceed.
(2.5) in include/math.h, delete #ifndef __cplusplus..#endif
brackets offending by being after ...\ on the previous line,
thus assumed not at the beginning of the line and mistaken
for a macro #parameter.
After more than 10 hours of deliberate checking for things,
declaration and linkage, it builds.
Cheers,
Alexy