Created
July 23, 2017 05:37
-
-
Save a3f/d2249665e35cfc51e5ebf60534c053e6 to your computer and use it in GitHub Desktop.
Building mipsel-elf-gcc on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PREFIX=/opt/cross/gcc-mips | |
export PATH=${PREFIX}/bin:${PATH} | |
../binutils-2.28/configure --target=mipsel-elf --prefix=$PREFIX | |
../gcc-7.1.0/configure --target=mipsel-elf --prefix=$PREFIX --without-headers --with-gnu-as --with-gnu-ld --disable-shared --enable-languages=c --disable-libssp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment