Version v8.1.0-2-20181019 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC.

Binary files »


This release closely follows the official RISC-V distribution maintained by SiFive.

It is more or less similar to the 20180928 release, except support for SiFive specific CLIC interrupts, which was not included.

The following commits were used:

GDB is a bit special, since it is only partly upstreamed and the RISC-V repos are no longer updated, so the current build uses git://, the 7dd36a6f1c commit from Aug 23rd, 2018 (same as the SiFive release).


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 multi-libs
  • 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

  • none.


The SHA-256 hashes for the files are:

9938d66410f1eaf797fc717d678bfca219e0fbc53589f05e7d9339d1ebf150ea ?

6a165c9dee9d4f49cf137a18352a69b9627dc224fc841b01dcf9f0c66eed4bf0 ?

996eae452610113ead3bb35fa768046fc50f2861798cbdcbf00c79058c582d80 ?

02e43e075ff829cc4b02361d30a51c816c11a1c7f4d44a5c087a8e5a2e9998a4 ?

bd2cd40a13175f8bfd01595d55f565d8a433ef92341e4afe18a9b521a91cdc74 ?