Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 467 Bytes

tool-chain-setup.md

File metadata and controls

18 lines (15 loc) · 467 Bytes

How to setup RISC-V GNU Toolchain

Clone and build and install the RISC-V GNU tool chain.

How to build the riscv-gnu-toolchain project

./configure --prefix=/opt/riscv
make
or
make linux

Add /opt/riscv to the PATH.

You can alter the configuration according to the requirements.

./configure --prefix=/opt/riscv-zifencei --host=riscv64-unknown-elf --with-arch=rv64imafdczifencei
make