GNU MCU Eclipse RISC-V Embedded GCC v8.2.0-2.1 20190425 released
Version 8.2.0-2.1-20190425 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC.
Download
The binary files are available from GitHub Releases.
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:
- the sifive/riscv-gcc project,
branch
sifive-gcc-8.2.0
, commit 242abcaff6 from from 5 April 2019 - the sifive/riscv-binutils-gdb
project, branch
sifive-binutils-2.32
, commit 164267155c from 28 February 2019 - the sifive/riscv-newlib project, commit 42c2e3fb9f from 17 November 2018
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 multi-libs - 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 project README.
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.
Checksums
The SHA-256 hashes for the files are:
8ee592d69dc7685b928fefaa29a9ba678518e775a03471320916b96bcd2fc567
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.1-20190425-1021-centos32.tgz
60c20e6aaafc7b05c7c83cf9269867224ddb643a26a5030062acaf53b018abd4
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.1-20190425-1021-centos64.tgz
c90422c7600a4e07f0cdf08547d17d180518796dcec9072ca1c0bc9c8bc10587
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.1-20190425-1021-macos.tgz
08340f37a177c2de5dda58f484929204dc88ac1a00fcfd5675cd13aac12f9e04
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.1-20190425-1021-win32.zip
c11aa476376a813daafd7bca6335542e39eeb49554fbb6852b75c27a493e83ef
gnu-mcu-eclipse-riscv-none-gcc-8.2.0-2.1-20190425-1021-win64.zip