An xPack which installs the binary files for GNU MCU Eclipse RISC-V GCC
npm install @gnu-mcu-eclipse/riscv-none-gcc


This binary xPack installs the platform specific binaries for the
GNU MCU Eclipse RISC-V Embedded GCC
toolchain.
The source files of the xPack project are publicly available from
GitHub.
This section is intended for developers who plan to use the
RISC-V Embedded GCC toolchain.
The only requirement is a recent xpm, which is a portable
Node.js command line application. To install it,
follow the instructions from the xpm page.
The xPack is available as @gnu-mcu-eclipse/riscv-none-gcc
from the public npmjs.com repository; with xpm available, installing
the latest version of the package is quite easy:
``console`
$ xpm install @gnu-mcu-eclipse/riscv-none-gcc --global
Global xPacks are always installed in the user home folder, even on GNU/Linux
or macOS, and do not require sudo.
The GNU MCU Eclipse plug-ins automatically identify binaries installed with
xpm and provide a convenient method to manage paths.
To remove the installed xPack, the command is similar:
`console`
$ xpm uninstall @gnu-mcu-eclipse/riscv-none-gcc --global
(Note: not yet implemented. As a temporary workaround, simply remove the
xPacks/@gnu-mcu-eclipse/riscv-none-gcc folder, or the versions subfolders.)
The few xPack source files are available from GitHub:
`console`
$ git clone https://github.com/gnu-mcu-eclipse/riscv-none-gcc-xpack.git riscv-none-gcc-xpack.git
The binaries are not stored on the npmjs.com server, but are downloaded from gnu-mcu-eclipse/riscv-none-gcc
the releases
section of the GitHub project.
* open releases
and select the latest release
* update the baseUrl: with the file URLs (including the tag/version)package.json: update urls for 8.2.0-2.1 release
* from the blog post, copy the SHA & file names
* commit all changes, use a message like (without v)CHANGELOG.md
* update ; commit with a message like _CHANGELOG: prepare v8.2.0-2.1.1_npm version 8.2.0-2.1.1
* npm publish
* push all changes to GitHub
*
The original content is released under the
MIT License, with all rights
reserved to Liviu Ionescu.
The binary distributions include several open-source components; the
corresponding licenses are available in the gnu-mcu-eclipse/licenses`
folder.