GNU MCU Eclipse

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

GNU MCU Eclipse QEMU v2.8.0-6 20190517 released GNU MCU Eclipse ARM Embedded GCC v8.2.1-1.7 20190524 released

GNU MCU Eclipse RISC-V Embedded GCC v8.2.0-2.2 20190521 released

Version v8.2.0-2.2-20190521 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC, that fixes the previous bug affecting GDB on macOS.

Binary files »

Compliance

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://sourceware.org/git/binutils-gdb.git, the c8aa0bb commit from 28 Feb 2019.

Improvements

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

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.

Tests

The binaries were testes on Windows 10 Pro 32/64-bit, Ubuntu 18 LTS 64-bit, Xubuntu 18 LTS 32-bit and macOS 10.13.

The tests consist in building and debugging some simple Eclipse projects available in the build project.

Since the source code used for GCC is identical to the one used by SiFive, the long and complex tests performed by SiFive to validate their release were not executed again.

Known problems

  • none (so far).

Checksums

The SHA-256 hashes for the files are:


b36a7633780b98f357ea88b5d80af114b735dd837c9bf74c1d5ba436d2e5def3 
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.2-20190521-0004-centos32.tgz

3b9d585f6851b137b3938fb288c5e95d13d0580002fa6ca82b754fcffbff508c 
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.2-20190521-0004-centos64.tgz

3bc735ff39820e7775b8e64516d1b89e562a6a744dc591519e7200571aa7aa6c 
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.2-20190521-0004-macos.tgz

cba4a66bebc1cef9c0612254b9c7f50a4ff5f9c4d7ab20904bc8d64ad5acb016 
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.2-20190521-0004-win32.zip

3997402997d7606ff4f744d9602ec098f269c0df23bcce8117aff29cd46df971 
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.2-20190521-0004-win64.zip