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.
The current version is based on the following commits:
- the riscv/riscv-gcc project, commit 5bf0f1d from from Jan 8th, 2018
- the riscv/riscv-binutils-gdb project, commit 5d812b7 from Jan 9th, 2018
- the riscv/riscv-newlib project, commit 32a3de0 from Dec 21st, 2017
All architectures, ABIs and libraries supported by the
riscv64-unknown-elf 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.
The SHA-256 hashes for the files are:
dd4dddb50bed32d17962fec44e8c4a5d6f038f28bc967263ce3d2da84ee86412 ? gnu-mcu-eclipse-riscv-none-gcc-7.2.0-2-20180111-2230-centos32.tgz 59c85a06c17e9c6942185b60fc105dd77f1c67c04e3fd5fe6de325be7bdf0c97 ? gnu-mcu-eclipse-riscv-none-gcc-7.2.0-2-20180111-2230-centos64.tgz 97b3bb5f77656f48010b833424f7b08f27cb54db0cab2b4366d4ff0726e31a4a ? gnu-mcu-eclipse-riscv-none-gcc-7.2.0-2-20180111-2230-osx.tgz 884f94156612bf01e69c6e5f209ee4460c46f275f4127120eaf102a919fa55f2 ? gnu-mcu-eclipse-riscv-none-gcc-7.2.0-2-20180111-2230-win32.zip 251cbd8d446a36c62bcafe6d2daa88d8972c70d8b8aecd2b1eecac601c08239a ? gnu-mcu-eclipse-riscv-none-gcc-7.2.0-2-20180111-2230-win64.zip