So it turns out I have a couple of versions of GNAT on my O350, GNAT 3.4.6 and this one:
Code:
janjaap@chimera:~$ /usr/local/gcc/4.3.2/bin/gnat
GNAT 4.3.2
Copyright 1996-2007, Free Software Foundation, Inc.
List of available commands
gnat bind gnatbind
gnat chop gnatchop
gnat clean gnatclean
gnat compile gnatmake -f -u -c
gnat check gnatcheck
gnat elim gnatelim
gnat find gnatfind
gnat krunch gnatkr
gnat link gnatlink
gnat list gnatls
gnat make gnatmake
gnat metric gnatmetric
gnat name gnatname
gnat preprocess gnatprep
gnat pretty gnatpp
gnat stack gnatstack
gnat stub gnatstub
gnat xref gnatxref
Commands find, list, metric, pretty, stack, stub and xref accept project file switches -vPx, -Pprj and -Xnam=val
On the plus side, it's a complete toolchain with c, ada, c++, fortran, java, objc, obj-c++ langiuages, on the minus side, it seems to depend on bits and pieces of an in-house package distribution I used to maintain (CoolMix):
Code:
janjaap@chimera:~$ /usr/local/gcc/4.3.2/bin/gcc -v
Using built-in specs.
Target: mips-sgi-irix6.5
Configured with: ../configure -v --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --prefix=/usr/local/gcc/4.3.2 --enable-multilib --enable-shared --enable-threads=posix --enable-libgcj --enable-java-awt=xlib --disable-nls --program-suffix=-4.3 --with-gnu-as --with-as=/usr/CoolMix/mips-sgi-irix6.5/bin/as --without-gnu-ld --with-ld=/usr/bin/ld --with-mpfr=/usr/people/janjaap/src/gnu/gcc/support --with-pkgversion=CoolMix --enable-checking=release
Thread model: posix
gcc version 4.3.2 (CoolMix)
I'm pretty sure it must have passed the GCC regression test suite without a catastrophic number of failures or I wouldn't have installed it. Should at least be good enough to bootstrap something newer.
After that I think I stopped building my own toolchains and switched to pkgsrc. I don't think they build Ada, though.