diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-06-06 08:37:45 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-06-06 08:37:45 -0500 |
| commit | ad3b71a2a7c895ab4209619492d1e0b2a39adb82 (patch) | |
| tree | 8811bcc4375513505b355869aaaa8bd4a746b7d7 /cross-toolchain/SETUP.txt | |
| parent | d609dcb35dafebeafced9c40d92ddd5da630aa54 (diff) | |
| download | rvcontroller-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
Diffstat (limited to 'cross-toolchain/SETUP.txt')
| -rw-r--r-- | cross-toolchain/SETUP.txt | 4 |
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): |
