tar -zxvf binutils-2.11.2.tar.gz cd binutils-2.11.2 ./configure --target=mips-idt-ecoff --prefix=/tmp/sandorsplayground/mips make make install cd .. tar -zxvf gcc-2.95.3.tar.gz cd gcc-2.95.3 ./configure --target=mips-idt-ecoff --prefix=/tmp/sandorsplayground/mips \ --with-as=/tmp/sandorsplayground/mips/bin/mips-idt-ecoff-as \ --with-ar=/tmp/sandorsplayground/mips/bin/mips-idt-ecoff-ar \ --with-ld=/tmp/sandorsplayground/mips/bin/mips-idt-ecoff-ld \ --with-nm=/tmp/sandorsplayground/mips/bin/mips-idt-ecoff-nm bash export PATH="$PATH:/tmp/sandorsplayground/mips/bin" export CROSS_INCLUDE_DIR="/usr/include" *** edit gcc/Makefile line 360: -I/usr/include *** make cross make LANGUAGES="c c++"