Skip to content
dwillmore edited this page May 11, 2023 · 22 revisions

Debian and WSL

apt-get install build-essential libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev libudev-dev

Arch/Manjaro

sudo pacman -S base-devel libusb Then from AUR install riscv64-unknown-elf-gcc, riscv64-unknown-elf-binutils, riscv64-unknown-elf-newlib (will compile for a long time).

Windows

download and install (to system) this copy of GCC10.

MacOS

install the RISC-V toolchain with homebrew following these instructions

You can use the pre-compiled minichlink or go to minichlink dir and make it.

Clone this wiki locally