This is the RISC-V C and C++ cross-compiler. It supports two build modes: a generic ELF/Newlib toolchain and a more sophisticated Linux-ELF/glibc toolchain. $ brew install python3 gawk gnu-sed make ...
Several standard packages are needed to build the toolchain. On Ubuntu, executing the following command should suffice: $ sudo apt-get install autoconf automake autotools-dev curl python3 libmpc-dev ...