summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross-toolchain/SETUP.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/cross-toolchain/SETUP.txt b/cross-toolchain/SETUP.txt
index 654c405..720d209 100644
--- a/cross-toolchain/SETUP.txt
+++ b/cross-toolchain/SETUP.txt
@@ -15,6 +15,7 @@ See c/rrxing/Makefile for example commands to compile and link.
Initial setup:
cd cross-toolchain
mkdir build target source
+nano activate.sh # Edit the paths to match your installation
source activate.sh
Binutils (required):
@@ -34,7 +35,7 @@ git clone https://gcc.gnu.org/git/gcc.git
cd ../build
mkdir gcc
cd gcc
-../../source/gcc/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --without-headers --disable-hosted-libstdcxx --with-arch=RV32I
+../../source/gcc/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --without-headers --disable-hosted-libstdcxx --with-arch=rv32i
make -j$(nproc) all-gcc all-target-libgcc all-target-libstdc++-v3
make install-gcc install-target-libgcc install-target-libstdc++-v3 # Do not use sudo! root access is not needed.
cd ../..
@@ -52,6 +53,7 @@ See c/rrxing-be/Makefile for example commands to compile and link.
Initial setup:
cd cross-toolchain
mkdir build target source
+nano activate-be.sh # Edit the paths to match your installation
source activate-be.sh
Binutils (required):