GNU MCU Eclipse

A family of Eclipse CDT extensions and tools for GNU ARM & RISC-V development

GNU MCU Eclipse OpenOCD v0.10.0-6-20180112 released

GNU MCU Eclipse RISC-V Embedded GCC v7.2.0-2-20180111 released

Version v7.2.0-2-20180111 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC; it updates to the latest RISC-V sources and the build process was improved, to support even older GNU/Linux machines and processors.

Binary files »


All GNU MCU Eclipse RISC-V Embedded GCC releases are based on the official RISC-V source files maintained by SiFive.

The current version is based on the following commits:


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-bits), 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 @gnu-mcu-eclipse/riscv-none-gcc --global

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:

dd4dddb50bed32d17962fec44e8c4a5d6f038f28bc967263ce3d2da84ee86412 ?

59c85a06c17e9c6942185b60fc105dd77f1c67c04e3fd5fe6de325be7bdf0c97 ?

97b3bb5f77656f48010b833424f7b08f27cb54db0cab2b4366d4ff0726e31a4a ?

884f94156612bf01e69c6e5f209ee4460c46f275f4127120eaf102a919fa55f2 ?

251cbd8d446a36c62bcafe6d2daa88d8972c70d8b8aecd2b1eecac601c08239a ?