Version v8.2.0-2.1-20190425 is a maintenance release of GNU MCU Eclipse RISC-V Embedded GCC.
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,
sifive-gcc-8.2.0, commit 242abcaff6 from from 5 April 2019
- the sifive/riscv-binutils-gdb
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
c8aa0bb commit from
28 Feb 2019.
All architectures, ABIs and libraries supported by the
toolchain are also supported, with the following improvements:
- a newer
newlibwas included, which supports the ‘underscore’ syscall functions
- the mandatory reference to
libglossin the linker configuration was removed
march=rv32imaf/mabi=ilp32flibrary was added to the list of multilibs
- support for
- 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.
$ 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.
- on macOS, the
riscv-none-embed-gdbprogram 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:
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