compiling under IRIX.

I far from knowing what I’m doing but the following link is how far I get.
http://supergeek.homeunix.org/projects/blend_com.txt
Now its IRIX 6.5.17 using GCC (I know, I know) any folks out there using IRIX hit me off with some pointers. Its a learning process. I will keep posting on that site my progress.

that’s interesting, you get the irix compiler directives like -n32 with gcc, but when i use sgi cc, i get the GNU directives instead.

Where can I get a list of GCC directives, flags, options for MIPS?
This is what is in my nan_compile.mk file
http://supergeek.homeunix.org/projects/nan_compliler.mk

Where can I get athe 1.8 source?