Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 734 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 734 Bytes

DEPRECATED

Please switch to another GCC distribution, e.g. from Embecosm.

RISC-V GNU GCC Toolchain from source

Installation

Download the latest modm-riscv-gcc.tar.bz2 from Releases and unpack it to /opt:

tar xf modm-riscv-gcc.tar.bz2 --directory /opt

Add the bin/ directorie(s?) to your $PATH, e.g. by adding the following line to your ~/.bashrc file:

export PATH="/opt/modm-riscv-gcc/bin:$PATH"

Building local

The build script is written for Ubuntu 20.04.

Just run the build.sh script:

./build.sh

The toolchain will be in /opt/modm-riscv-gcc.