diff --git a/README.md b/README.md index a376758..b4708ef 100644 --- a/README.md +++ b/README.md @@ -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 :
- https://www.sifive.com/products/tools/ => SiFive GNU Embedded Toolchain - 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):