This is picked up by "./configure --with-template=irix6" though presumably the configure script could be updated. Note that the LD entry gets overridden somewhere later. My kludge for linker errors such as ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o scankey.o tupdesc.o ld: FATAL 12 : Expecting o32 objects: heaptuple.o is n32. is to export the environment variable "SGI_ABI=-n32". 2) After running configure, edit config.h to get around the accept bug http://www.postgresql.org/mhonarc/pgsql-ports/2000-05/msg00042.html 3) Edit tests/regress/resultmap to add entries for IRIX.