Open main menu

Aram's Wiki β

Changes

Bare metal RISC-V GCC 9.3.0 cross compiler instructions

163 bytes added, 16:00, 13 November 2019
Add tools to PATH and set RISCV
printf 'PATH=$HOME/riscv/bin:$PATH\nRISCV=$HOME/riscv\nexport RISCV\n' >> $HOME/lib/profile.local
 
Also, if you have installed spike from a repository, you might want to symlink it into <code>RISCV/bin</code>.
 
ln -s /usr/local/bin/spike $HOME/riscv/bin/spike