mardi 17 septembre 2019
This is a precompiled version of the RISC-V GNU toolchain (gcc, as, ld, libc, ...) and spike simulator, generated from the sources https://github.com/riscv/riscv-gnu-toolchain and https://github.com/riscv/riscv-tools, with executables stripped to save disk space (the extracted /opt/riscv/ directory uses around 200 Mb of disk space). It was generated and tested on Ubuntu 18.04, and may or may not run elsewhere. Use at your own risk.
This archive needs to be extracted in /opt/riscv/ :
wget 'https://matthieu-moy.fr/spip/IMG/gz/riscv.tar.gz' -O /tmp/riscv.tar.gz
sudo tar -xzvf /tmp/riscv.tar.gz
libmpc3 packages need to be installed for spike to work. On Ubuntu, run :
sudo apt install libmpc3 device-tree-compiler
After installation, you can delete the file