summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-06-06 08:37:45 -0500
committercheapie <cheapiephp@gmail.com>2026-06-06 08:37:45 -0500
commitad3b71a2a7c895ab4209619492d1e0b2a39adb82 (patch)
tree8811bcc4375513505b355869aaaa8bd4a746b7d7
parentd609dcb35dafebeafced9c40d92ddd5da630aa54 (diff)
downloadrvcontroller-ad3b71a2a7c895ab4209619492d1e0b2a39adb82.tar
rvcontroller-ad3b71a2a7c895ab4209619492d1e0b2a39adb82.tar.gz
rvcontroller-ad3b71a2a7c895ab4209619492d1e0b2a39adb82.tar.bz2
rvcontroller-ad3b71a2a7c895ab4209619492d1e0b2a39adb82.tar.xz
rvcontroller-ad3b71a2a7c895ab4209619492d1e0b2a39adb82.zip
Improve cross-toolchain setup instructions
They're actually tested now
-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):