Skip to content

Commit

Permalink
Fixed a typo in the prefix parameter for configuring GCC and removed …
Browse files Browse the repository at this point in the history
…switch that disables libgcc from being built
  • Loading branch information
lameguy64 committed Apr 12, 2019
1 parent 349726b commit e70cd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain.txt
Expand Up @@ -24,7 +24,7 @@ Building gcc:
* Create a directory named gcc-build inside the gcc directory.
* Configure gcc from the gcc-build directory with the following parameters:

../gcc-<version>/configure --disable-nls --disable-libada --disable-libssp --disable-libquadmath --disable-libstdc++-v3 --disable-libgcc --target=mipsel-unknown-elf --prefix=/usr/local/mips-unknown-elf --with-float=soft --enable-languages=c,c++ --with-gnu-as --with-gnu-ld
../gcc-<version>/configure --disable-nls --disable-libada --disable-libssp --disable-libquadmath --disable-libstdc++-v3 --target=mipsel-unknown-elf --prefix=/usr/local/mipsel-unknown-elf --with-float=soft --enable-languages=c,c++ --with-gnu-as --with-gnu-ld

Replace <version> with the version of gcc you downloaded. The prefix must be the same as the prefix you specified for binutils.
* Run make in the same manner as you built binutils to build gcc.
Expand Down

0 comments on commit e70cd14

Please sign in to comment.