-
Notifications
You must be signed in to change notification settings - Fork 1
GCC 2.7.2.3 on AIX 1.3
(I much later recreated the process for this and scripted doing this with RH5 in a chroot on a modern distro -- see https://github.com/rakslice/aix_ps2_gcc_kit)
I cross built GCC 2.7.2.3 for AIX 1.3 on Red Hat 5 (the one from 1997 with kernel 2.0.32, of the original distro by that name -- not to be confused with RHEL5). This meant first building a cross GCC to run on RH5 and compile for AIX 1.3, and then using it to build a native GCC to both run on and build for AIX 1.3, as well as supporting stuff like binutils.
I don't have all the details of the process readily available but I think I have all of the pieces I transferred between the systems archived so with a certain amount of work I could figure it out. As a summary based on my vague recollections at this point
- To the GCC and/or binutils source I had to apply patches for AIX 1.x that were around on newsgroups or forums
- There were some additional minor changes in the vein of less flexible older compiler issues with more modern language use; I can't remember what but I don't think it was rocket science
- I had to do a certain amount of hacking on the AIX 1.3 includes to get them usable even with GCC's process for converting legacy headers for use with GCC; I had done some of this already when just hacking on stuff with the already on box terrible compiler, so I didn't really thoroughly go through it
- The already on box terrible compiler was enough to build the
libgcc
for use with the cross-built native GCC