Instructions for the compilation of GCC 2.6.3 under AIX 2.2.1:

0) Other tools you will need for extracting and build GCC
	gunzip
	bison
	patch    (needed to apply patch, unless you want to do it by hand ;-)
	makeinfo (not really needed, but nice to have)
   If you don't have these, then get and build them first.  They should
   all build fairly easily out of the box ;-)
   You will need about 102000 free blocks of disk space to extract and
   build GCC.  Building time is about 6 hours.
1) FTP the source for GCC-2.6.3 from some friendly FTP site (like
   prep.ai.mit.edu (or one of it's mirrors)). 
2) From outside the gcc-2.6.3/ directory, that is created by unarchiving
   the compressed tar file, execute the command 'patch -p < gcc263diff'
4) Change directory to gcc-2.6.3
5) Execute the following commands to build GCC
	% configure romp-ibm-aix
	% make bootstrap
6) Execute the following commands to install GCC
	% make install         CC="stage2/xgcc -Bstage2/" CFLAGS=""
	% make install-libobjc CC="stage2/xgcc -Bstage2/" CFLAGS=""

Notes:
  This patch was based on Christopher M. Simison's patches to GCC-2.5.8
(Thanks Chris!) which, in turn, were based on another persons port of
GCC-2.5.3.  I cleaned up a few things which turned his 10 step process
into 4 steps.  I also removed some of the differences that his patch
created, because they weren't needed for the AIX port (I believe in
making as few changes to the original source as possible). 
  Like most versions, GCC will be built and installed into /usr/local.
Read the GCC doc on how to change this to some other place.  Heck, you
should read the GCC doc before you start building it anyway !-)
  As with his port and this one, the debug compilation option '-g' does
not work.  The reason is that GCC doesn't know how to generate symbol
table directives that the AIX assembler can understand.  There are three
ways of dealing with this:
	1) don't use '-g'  (too easy, eh?)
	2) change GCC's symtab generation to work with AIX's assembler
	3) change GAS (GNU Assembler) to work on AIX.
  I've looked into #2 and it won't be simple.  If some kind person (with
the AIX Assembler Reference) wants to tackle this, I'm sure everyone
would benefit from it.  Same goes for #3.

Good Luck!

Peter A. Castro  (peter@crossaccess.com or doctor@rahul.net)
