Update gnu build.
This commit is contained in:
parent
e23aca0cfc
commit
32fff97ff5
|
@ -59,11 +59,14 @@ sudo make install
|
||||||
* Opetion1 :<https://github.com/riscv-collab/riscv-gnu-toolchain.git>
|
* Opetion1 :<https://github.com/riscv-collab/riscv-gnu-toolchain.git>
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# build 64bit
|
||||||
sudo make clean
|
sudo make clean
|
||||||
./configure --prefix=/opt/riscv # build 64bit
|
./configure --prefix=/opt/riscv
|
||||||
sudo make -j12
|
sudo make -j12
|
||||||
|
|
||||||
|
# build 64bit and 32bit
|
||||||
sudo make clean
|
sudo make clean
|
||||||
./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32d
|
./configure --prefix=/opt/riscv --with-arch=rv32gc --with-abi=ilp32d --enable-multilib
|
||||||
sudo make -j12
|
sudo make -j12
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue