-
Notifications
You must be signed in to change notification settings - Fork 174
Installation
dwillmore edited this page May 11, 2023
·
22 revisions
apt-get install build-essential libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev libudev-dev
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).
download and install (to system) this copy of GCC10. https://gnutoolchains.com/risc-v/
install the RISC-V toolchain with homebrew following [these instructions] (https://github.com/riscv-software-src/homebrew-riscv)
You can use the pre-compiled minichlink or go to minichlink dir and make
it.