I just discovered that the build sequence for gcc on AIX version 5.3,
what is called "TL08" fails. The first symptom is options.h has
double defines in it.
e.g.
redeclaration of enumerator 'OPT_d'
But even after that is fixed by hand, there are other issues.
Switching from AIX's awk or nawk to GNU's awk (gawk) solves the issues.
I first tried building gcc 4.0.2 and then tried gcc 4.2.0. Both had
the same issues. I know that I have built gcc (using gcc) on AIX 5.3
before but it must have been an older level of AIX.
Perry
Ease Software, Inc. ( http://www.easesoftware.com )
Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems