Update README.md
parent
d7d043a935
commit
4129378730
10
README.md
10
README.md
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue