RISC-V GNU Toolchain
- Android app
- Not listed
- Free plan
- Yes
- Runs on
- Linux, Mac, Windows

Summary
RISC-V GNU Toolchain is a free, open-source C and C++ cross-compiler for building bare-metal ELF or Linux ELF toolchains. Bare-metal builds can use Newlib or Picolibc; Linux builds can use glibc, musl, or uClibc. The default configuration targets RV64GC, with options for RV32 or RV64, architecture extensions, and ABIs. Multilib builds can target both 32-bit and 64-bit systems for Newlib and Linux/glibc toolchains. The project includes GCC, binutils, GDB, and supported C libraries. LLVM can be built alongside the toolchain using a configure flag, but that option cannot be combined with multilib configuration. Testing documentation covers DejaGNU and make check targets for GCC, Binutils, and glibc on Linux toolchains. Simulator choices include QEMU, GDB, and experimental Spike support, with availability depending on the toolchain. Hosts include Linux and macOS; Windows use is through a Linux subsystem or Cygwin. A build needs about 8 GiB of disk space, and cloning the repository takes around 6.65 GB. The development guidance is aimed at developers, advanced users, and people building with their own source trees.
Who it is for
It suits developers and advanced users building RISC-V toolchains, including users working with their own source trees. Its configurable RV32 and RV64 targets support different architecture and ABI choices.
What is good
- Free, open-source C and C++ cross-compiler
- Builds bare-metal or Linux ELF toolchains
- Supports configurable RV32 and RV64 targets
- Bare-metal builds can use Newlib or Picolibc
- Includes GDB and documents simulator options
What to know first
- Build needs about 8 GiB of disk space
- Repository clone takes around 6.65 GB
- Windows use requires a Linux subsystem or Cygwin
- LLVM and multilib configuration flags cannot be combined
Verdict
RISC-V GNU Toolchain offers configurable RISC-V compiler builds for bare-metal and Linux targets, with libraries and debugging components. Its substantial disk requirements and developer-oriented setup are important to weigh first.
RISC-V GNU Toolchain plans and pricing
All plansCompared on embedded systems toolchains
- Free plan
- Yesgithub.com
- Debugger included
- Yesgithub.com
- SDK components
- GCC, binutils, GDB, Newlib, Picolibc, glibc, musl, uClibc, QEMU, Spikegithub.com
- Target architectures
- RV32 and RV64 with standard RISC-V extensions; configurable multilib targetsgithub.com
- Host platforms
- Linux, macOS, Windows via Linux subsystem or Cygwingithub.com
- Build systems
- Autotools configure and Makegithub.com
- Debug interfaces
- GDB simulator, QEMU, Spikegithub.com
- License model
- open-sourcegithub.com
Facts
- Purpose
- The project provides a RISC-V C and C++ cross-compiler that can build bare-metal ELF or Linux ELF toolchains.github.com · 29 Sept 2026
- C libraries
- Bare-metal builds can use Newlib or Picolibc, while Linux builds can use glibc, musl, or uClibc.github.com · 29 Sept 2026
- Architecture and ABI
- The build defaults to RV64GC and supports RV32 or RV64 configurations with selectable architecture extensions and ABIs.github.com · 29 Sept 2026
- Multilib
- Multilib builds can target both 32-bit and 64-bit systems, and are supported for Newlib and Linux/glibc toolchains.github.com · 29 Sept 2026
- LLVM integration
- LLVM can be built alongside the toolchain with the --enable-llvm configure flag, but LLVM and multilib configuration flags cannot be combined.github.com · 29 Sept 2026
- Simulation
- The project documents QEMU, GDB, and experimental Spike simulator options for running tests, with simulator support varying by toolchain.github.com · 29 Sept 2026
- Testing
- The repository includes DejaGNU test support, and documents make check targets for GCC, Binutils, and glibc on Linux toolchains.github.com · 29 Sept 2026
- Build requirements
- The README says a build downloads about 200 MiB of upstream sources and needs about 8 GiB of disk space; cloning the repository takes around 6.65 GB.github.com · 29 Sept 2026
- Platforms
- The README provides build instructions for Linux distributions and macOS, including Apple Silicon; it also discusses Linux subsystem or Cygwin builds on Windows.github.com · 29 Sept 2026
- Who it is for
- The README describes its development section as intended for developers, advanced users, or people building with their own source trees.github.com · 29 Sept 2026
- Support channel
- The repository provides an issue tracker and pull request interface on GitHub.github.com · 29 Sept 2026
- License
- The repository has a LICENSE file containing licensing terms for the project and its included components.github.com · 29 Sept 2026
- What it does
- It is a RISC-V C and C++ cross-compiler that builds bare-metal ELF or Linux ELF toolchains.github.com · 30 Sept 2026
- Bare-metal libraries
- Bare-metal builds can use Newlib or Picolibc.github.com · 30 Sept 2026
- Linux libraries
- Linux builds can use glibc, musl, or uClibc.github.com · 30 Sept 2026
- Supported host systems
- The README provides build prerequisites for Ubuntu, Fedora/CentOS/RHEL, Arch Linux, and macOS.github.com · 30 Sept 2026
- Test suite
- A port of the DejaGnu test suite is available, and make check and make report are wired for Newlib and Linux/glibc toolchains.github.com · 30 Sept 2026
- Build size
- The README says cloning takes around 6.65 GB and a build needs about 8 GiB of disk space.github.com · 30 Sept 2026
- Development audience
- The development section is described as intended for developers, advanced users, or users building with their own source tree.github.com · 30 Sept 2026
- Security information
- The repository page shows a Security and quality section with 0 alerts.github.com · 30 Sept 2026
Company
- Headquarters
- Switzerlandgithub.com · 28 Sept 2026
Best RISC-V GNU Toolchain alternatives
See all 20Where it ranks on Everything Xiaomi
Is RISC-V GNU Toolchain yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/riscv-collab/riscv-gnu-toolchain· checked 29 Sept 2026
- github.com/riscv-collab/riscv-gnu-toolchain/blob/m· checked 29 Sept 2026


