Version v8.2.0-2.1-20190425 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC.

Binary files »


Starting with v8.2.0-2, this distribution closely follows the official SiFive Freedom Tools distribution.

This release is similar to the SiFive 2019-02 release, including support for SiFive specific CLIC interrupts.

The following commits were used:

GDB was upstreamed and does not require SiFive specific patches, so the current build uses git://, the c8aa0bb commit from 28 Feb 2019.


All architectures, ABIs and libraries supported by the riscv64-unknown-elf toolchain are also supported, with the following improvements:

  • a newer newlib was included, which supports the ‘underscore’ syscall functions
  • the mandatory reference to libgloss in the linker configuration was removed
  • the march=rv32imaf/mabi=ilp32f library was added to the list of multilibs
  • support for newlib-nano was added
  • the standard documentation, in PDF and HTML, was added


Binaries for Windows, macOS and GNU/Linux are provided.

The GNU/Linux binaries were built on two CentOS 6 Docker images (32/64-bit), and run on any distribution based on CentOS 6 or later.

The Windows binaries were built with mingw-w64, and run on any reasonably recent i686 and x86_64 Windows machines.

Instructions on how to install the binaries are available in the How to install the RISC-V toolchain? page.

The toolchain is also available as an xPack and can be conveniently installed with xpm:

$ xpm install --global @gnu-mcu-eclipse/riscv-none-gcc

This installs the latest available version.

For better control and repeatability, the build scripts use Docker containers; all files required during builds are available as a separate gnu-mcu-eclipse/riscv-none-gcc-build project.

Known problems

  • on macOS, the riscv-none-embed-gdb program fails when certain commands are used; this is a known GDB build problem, and will be fixed in the next release.


The SHA-256 hashes for the files are: