How to build the RISC-V Embedded GCC binaries?
The GNU MCU Eclipse RISC-V Embedded GCC build scripts provide a single tool to create multi-platform binaries, generating the Windows 32, Windows 64, GNU/Linux 32, GNU/Linux 64 and macOS distribution packages.
The script was developed on macOS, but it should also run on any recent GNU/Linux distribution (just that in this case it cannot generate the macOS package).
How to build?
For the final authoritative details, please refer to the separate riscv-none-gcc-build project.