| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| other-targets | 2015-04-13 | ||
| README-mips-unknown-linux-gnu.txt | 2015-04-13 | 758 Bytes | |
| cross-mips-unknown-linux-gnu.7z | 2015-04-13 | 37.0 MB | |
| Totals: 3 Items | 37.0 MB | 2 |
gcc-4.9.2 and binutils-2.25
Built under 32-bit Cygwin for mips-unknown-linux-gnu.
Credit to:
http://www.linux-mips.org/wiki/Toolchains
export WDIR=/cygdrive/c/dev/r4ksdk/tmp
export TARGET=mips-unknown-linux-gnu
export PREFIX=/cygdrive/c/dev/r4ksdk/cross
export PATH="${PATH}":${PREFIX}/bin
Build for binutils:
../binutils-2.25/configure --target=$TARGET --prefix=$PREFIX
make
make install
Build for GCC:
mkdir build-gcc-bootstrap && cd build-gcc-bootstrap
../gcc-4.9.2/configure --target=$TARGET --prefix=$PREFIX \
--enable-languages=c --without-headers \
--with-gnu-ld --with-gnu-as \
--disable-shared --disable-threads \
--disable-libmudflap --disable-libgomp \
--disable-libssp --disable-libquadmath \
--disable-libatomic
make -j8
make install