Update gnu build.

This commit is contained in:
colin 2022-07-07 12:06:04 +00:00
parent e23aca0cfc
commit 32fff97ff5
1 changed files with 5 additions and 2 deletions

View File

@ -59,11 +59,14 @@ sudo make install
* Opetion1 :<https://github.com/riscv-collab/riscv-gnu-toolchain.git>
```bash
# build 64bit
sudo make clean
./configure --prefix=/opt/riscv # build 64bit
./configure --prefix=/opt/riscv
sudo make -j12
# build 64bit and 32bit
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
```