modifying readme

main
FPGALover 2023-09-17 00:36:27 -07:00
parent 1265e126fe
commit fe2b4975e2
1 changed files with 9 additions and 9 deletions

View File

@ -2,15 +2,15 @@
##building RISC-V from scratch, using Linux or WSL
>sudo apt-get update
sudo apt-get install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev
git clone https://github.com/riscv/riscv-gnu-toolchain
cd riscv-gnu-toolchain/
mkdir build/
cd build
sudo mkdir /opt/riscv32im
sudo chown $USER /opt/riscv32im
./configure --with-arch=rv32im --prefix=/opt/riscv32im
make -j$(nproc)
>sudo apt-get install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev
>git clone https://github.com/riscv/riscv-gnu-toolchain
>cd riscv-gnu-toolchain/
>mkdir build/
>cd build
>sudo mkdir /opt/riscv32im
>sudo chown $USER /opt/riscv32im
>./configure --with-arch=rv32im --prefix=/opt/riscv32im
>make -j$(nproc)
# For other architectures or variations of RISC-V
./configure --with-arch=rv32i /opt/riscv32i/ --> for RV32I