Update README.md

main
FPGALover 2024-02-29 21:51:29 +00:00
parent d7d043a935
commit 4129378730
1 changed files with 5 additions and 5 deletions

View File

@ -12,17 +12,17 @@ mkdir build/
cd build cd build
sudo mkdir /opt/riscv32im sudo mkdir /opt/riscv32im
sudo chown $USER /opt/riscv32im sudo chown $USER /opt/riscv32im
./configure --with-arch=rv32im --prefix=/opt/riscv32im ../configure --with-arch=rv32im --prefix=/opt/riscv32im
make -j$(nproc) make -j$(nproc)
``` ```
#### For other architectures or variations of RISC-V #### For other architectures or variations of RISC-V
| Command | ISA | | Command | ISA |
|:---------------------------------------- |:-------- | |:---------------------------------------- |:-------- |
|`./configure --with-arch=rv32i --prefix=/opt/riscv32i/ `| `RV32I `| |`../configure --with-arch=rv32i --prefix=/opt/riscv32i/ `| `RV32I `|
|`./configure --with-arch=rv32ic --prefix=/opt/riscv32ic/ `| `RV32IC `| |`../configure --with-arch=rv32ic --prefix=/opt/riscv32ic/ `| `RV32IC `|
|`./configure --with-arch=rv32im --prefix=/opt/riscv32im/` | `RV32IM `| |`../configure --with-arch=rv32im --prefix=/opt/riscv32im/` | `RV32IM `|
|`./configure --with-arch=rv32imc --prefix=/opt/riscv32imc/`| `RV32IMC `| |`../configure --with-arch=rv32imc --prefix=/opt/riscv32imc/`| `RV32IMC `|
### 2. Corss-Compiling C code for the RISCV picorv32 on WSL or on Linux. ### 2. Corss-Compiling C code for the RISCV picorv32 on WSL or on Linux.