Unxmaal and onre have worked together to give us a nice and easy method to crosscompile programs for IRIX. Unxmaal’s “compilertron” utilizes a patched GCC 4.7.4 in order to build a nice crosscompilation environment in a Vagrant Debian virtual machine.
Crosscompilation brings a number of advantages including vastly improved compilation times.
git clone https://github.com/unxmaal/compilertron
vagrant up- the magic of Vagrant will provision the virtual machine for you!
sudo -ito root
export PATH=/opt/binutils/bin:/opt/gcc/bin:$PATH export CC=mips-sgi-irix6.5-gcc export CXX=mips-sgi-irix6.5-g++