script about gcc prebuild version
This commit is contained in:
parent
3db3795e0a
commit
d543325294
|
@ -297,9 +297,15 @@ There is some scripts to generate the SoC and call the icestorm toolchain there
|
||||||
|
|
||||||
In fact, you can find some prebuild GCC : <br>
|
In fact, you can find some prebuild GCC : <br>
|
||||||
- https://www.sifive.com/products/tools/ => SiFive GNU Embedded Toolchain
|
- https://www.sifive.com/products/tools/ => SiFive GNU Embedded Toolchain
|
||||||
|
|
||||||
The VexRiscvSocSoftware makefiles are expecting to find this prebuild version in /opt/riscv/__contentOfThisPreBuild__
|
The VexRiscvSocSoftware makefiles are expecting to find this prebuild version in /opt/riscv/__contentOfThisPreBuild__
|
||||||
|
|
||||||
|
```sh
|
||||||
|
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-20170612-x86_64-linux-centos6.tar.gz
|
||||||
|
tar -xzvf riscv64-unknown-elf-gcc-20170612-x86_64-linux-centos6.tar.gz
|
||||||
|
sudo mv riscv64-unknown-elf-gcc-20170612-x86_64-linux-centos6 /opt/riscv64-unknown-elf-gcc-20170612-x86_64-linux-centos6
|
||||||
|
sudo mv /opt/riscv64-unknown-elf-gcc-20170612-x86_64-linux-centos6 /opt/riscv
|
||||||
|
echo 'export PATH=/opt/riscv/bin:$PATH' >> ~/.bashrc
|
||||||
|
```
|
||||||
|
|
||||||
But if you want to compile from sources in /opt/ the rv32i and rv32im gcc, do the following (will take hours):
|
But if you want to compile from sources in /opt/ the rv32i and rv32im gcc, do the following (will take hours):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue