RISC-V GNU Toolchain
Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed
About
RISC-V GNU Toolchain is ranked #2 of 24 in embedded systems toolchains on Inferse. It runs on Linux, macOS, Windows. There is a free plan.
Compared 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
- Architecture and ABI
- It supports rv32i or rv64i with standard extensions and lists ilp32 and lp64 ABI variants.github.com · 30 Sept 2026
- Multilib
- Multilib is available for Newlib and Linux/glibc toolchains; musl, uClibc, and Picolibc build a single variant.github.com · 30 Sept 2026
- LLVM integration
- LLVM can be built in combination with the toolchain using the --enable-llvm configure flag.github.com · 30 Sept 2026
- Simulation
- The project documents QEMU, GDB, and experimental Spike simulators for testing, with QEMU as the maintained test-suite allowlist.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 12
7.3 Arm Keil MDK $99/mo first paid tier Free plan
5.9 Arm GNU Toolchain Free free plan, no paid price published Free plan
5.9 C2000Ware Free free plan, no paid price published Free plan
5.9 CS+ Free free plan, no paid price published Free plan
5.9 MPLAB X IDE Free free plan, no paid price published Free plan
5.9 PlatformIO Core Free free plan, no paid price published Free plan Where it ranks on Inferse
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

