$Id: CROSSDEV,v 1.22 2004/03/14 13:19:34 morsiani Exp $

*** MIPS cross-compiler for Linux-i386 HOWTO

To develop programs for MPS, a cross-compiler is needed.

Intel processors are little-endian, so cross-compiler target is little-endian (mipsel-linux).

To build the cross-compiler:

1) download gcc and binutils from http://gcc.gnu.org or mirrors, and untar them somewhere


2) as root, build binutils with commands like these:

# ./configure --prefix=/usr/local --target=mipsel-linux --verbose --enable-languages=c --disable-threads --disable-shared

# make

# make install


3) as root, gcc binutils with commands like these:

# ./configure --prefix=/usr/local --target=mipsel-linux --verbose --enable-languages=c --disable-threads --disable-shared

# make

# make install


