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

Prebuilt upstream RISC-V GCC

Notifications You must be signed in to change notification settings

modm-io/riscv-gcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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.