From e70cd149f41ea71f9ca9ee86c03d1e59005dad2a Mon Sep 17 00:00:00 2001 From: lameguy64 Date: Fri, 12 Apr 2019 21:35:44 +0800 Subject: [PATCH] Fixed a typo in the prefix parameter for configuring GCC and removed switch that disables libgcc from being built --- toolchain.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain.txt b/toolchain.txt index 5bb4243..c9ae101 100644 --- a/toolchain.txt +++ b/toolchain.txt @@ -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-/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-/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 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.