Plasma - most MIPS I(TM) opcodes :: Gnu gcc
Download and extract the sources from http://ftp.gnu.org/gnu:
tar zxvf binutils-2.19.tar.gz tar zxvf gcc-4.3.2.tar.gz
unzip mpfr-2.3.2.zip
mkdir build-binutils cd build-binutils export TARGET=mips-elf export PREFIX=/usr/local/$TARGET export PREFIX=/home/username/gnu_mips/tools/$TARGET export PATH=$PATH:$PREFIX/bin ../binutils-2.19/configure --target=$TARGET --prefix=$PREFIX make make install cd ..
mkdir build-mpfr cd build-mpfr ../mpfr-2.3.2/configure -–target=$TARGET -–prefix=$PREFIX make make install cd ..
mkdir build-gcc
cd build-gcc
../gcc-4.3.2/configure --with-newlib --without-headers --enable-languages="c" \
--target=$TARGET --prefix=$PREFIX --with-gnu-ld --with-gnu-as --disable-libssp \
--with-mpfr=$PREFIX
make
make install
cd ..
Thanks to ishii AT
lex-inc.co.jp for providing updated instructions.