Download Latest Version cross-mips-unknown-linux-gnu.7z (37.0 MB)
Email in envelope

Get an email when there's a new version of cygwin mips-elf-gcc

Home / other-targets
Name Modified Size InfoDownloads / Week
Parent folder
OLD-cross-binutils-mips-unknown-linux-gnu.7z 2015-04-13 12.4 MB
OLD-cross-mips-elf.tar.bz2 2015-04-12 98.4 MB
OLD-README-mips-elf.txt 2015-04-12 734 Bytes
OLD-cross-mips-elf.rar 2015-04-12 85.5 MB
Totals: 4 Items   196.3 MB 0
gcc-4.9.2 and binutils-2.24
Built under 32-bit Cygwin for mips-elf.

Credit to:
http://www.linux-mips.org/wiki/Toolchains#GCC

export WDIR=/cygdrive/c/dev/r4ksdk/tmp
export TARGET=mips-elf
export PREFIX=/cygdrive/c/dev/r4ksdk/cross
export PATH="${PATH}":${PREFIX}/bin

Build for binutils:
../binutils-2.24/configure --target=$TARGET --prefix=$PREFIX
make
make install

Build for GCC:
mkdir build-gcc-bootstrap && cd build-gcc-bootstrap
../gcc-4.8.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 -j2
make install

Source: OLD-README-mips-elf.txt, updated 2015-04-12