Accueil > Outils > Programmation > Pre-compiled RISC-V GNU toolchain and spike

Pre-compiled RISC-V GNU toolchain and spike

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
cd /opt/
sudo tar -xzvf /tmp/riscv.tar.gz

The device-tree-compiler and 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 /tmp/riscv.tar.gz.

Documents joints

  • 17 septembre 2019
    info document : GZ
    62.7 Mo

Valid XHTML 1.0 Transitional
SPIP | | Plan du site | Suivre la vie du site RSS 2.0
Habillage visuel © styleshout sous Licence Creative Commons Attribution 2.5 License