| name | url |
|---|---|
| riscv-gcc | https://occ.t-head.cn/community/download?id=4090445921563774976 |
| qemu | https://occ.t-head.cn/community/download?id=4108987827910414336 |
-
download and extract them to
/opt- riscv-gcc:
/opt/gcc-riscv - qemu:
/opt/qemu
- riscv-gcc:
-
add
$PATHexport PATH=$PAHT:/opt/gcc-riscv/bin:/opt/qemu/bin
just use qrun!