GCC 2.7.2.2 (simple tar format, NOT inst'able)

gcc 2.7.2.2 is a full build of a native IRIX gcc, the GNU C compiler that is standalone / self-contained so you can have your basic C programs compiled and debugged without any need for a bootstrap compiler or other SGI tools.

It should work from IRIX 6.2 upwards. Please don't ask me for a 5.x version, I haven't used 5.3 in ages. It includes: gcc 2.7.2.2 plus some patches from Ralf Baechle (thanks Ralf!). The tar file includes gcc and its headers, libraries, C++ (g++) front-end and library (libg++.a), a GNU assembler from binutils, and the GNU debugger (gdb). Lastly, Two essential IDO components: the /usr/lib/crt[1n].o runtime objects, and /usr/lib/ld (an o32 linker) are included for those who need them.

If you're interested in a 5.3 version you should be aware of the fact that 5.3 didn't include headers and other parts of IDO that are necessary for compiling with gcc, if you have 5.3 and have IDO you may check one of the following:

Notes about this gcc:

To download:        
File Size (bytes)/bin/sum -r Installs under
gcc-2.7.2.2.tar.gz 611179802399   11938 /usr/gnu
crt1n.tar.gz (Only if needed) 154854837   4 /usr/lib
o32ld-strip.tar.gz (Only if needed) 62932806708   1230 /usr/lib

Installation instructions (read this!)

You need to download gcc-2.7.2.2.tar.gz.
The other two archives are needed only if you don't have them.
  1. To install gcc and friends after downloading:
        % su
        # mkdir -p /usr/gnu
        # gzcat gcc-2.7.2.2.tar.gz | ( cd /usr/gnu; tar xvf - )
    
  2. The crt1n.tar.gz archive includes two small runtime + startup files. It is only needed if you don't have /usr/lib/crt[1n].o installed. If you have IDO you should already have them. Don't download or install these if you have them.
    -r--r--r-- root/sys       3484 Feb 27 22:12 1997 usr/lib/crt1.o
    -r--r--r-- root/sys        836 Feb 27 22:12 1997 usr/lib/crtn.o
    
    To install these (only if needed) do:
        % su
        # gzcat crt1n.tar.gz | ( cd /; tar xvf - )
    
  3. The o32ld-strip.tar.gz file includes an o32 linker and strip:
    -rwxr-xr-x root/sys     670944 May 28 02:16 1997 usr/lib/ld
    -rwxr-xr-x root/sys     154516 Jul 12 22:34 1997 usr/lib/strip
    
    Again, it is only needed if you don't have /usr/lib/ld and /usr/lib/strip installed.
    To install it (only if needed) do:
        % su
        # gzcat o32ld-strip.tar.gz | ( cd /; tar xvf - )
        # ln -s ../lib/strip /usr/bin/strip
        # ln -s ../lib/ld /usr/bin/ld
    

Known problems / workarounds / more notes

Please report problems to me. If the fix is quick and easy enough there are good chances I'll be pretty responsive. No guarantee to fix anything is given though. Many thanks to Martin Knoblauch for helping this gcc build happen.