riscv-collab/riscv-gnu-toolchain

GNU toolchain for RISC-V, including GCC

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 57 minutes ago
Added to GitGenius on September 15th, 2026
Created on September 8th, 2014
Open Issues & Pull Requests: 44 (+0)
GitHub issues: Enabled
Number of forks: 1,418
Total Stargazers: 4,614 (+0)
Total Subscribers: 136 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.2 hours
Mean response time: 6.6 days
90th percentile: 35.7 hours
Tracked items: 201

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 4% of issues opened in the past year have never received a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 79% of issues opened in the past year have been closed, leaving a working backlog. Three people close 71% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 24
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 364 days
Stale 30+ days: 23
Stale 90+ days: 20

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (2)
  • duplicate (1)
  • invalid (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

RISC-V GNU Toolchain is a cross-compiler for building C and C++ applications targeting RISC-V architectures.

The toolchain addresses the need to compile code for RISC-V processors by providing GCC and related GNU tools configured for the RISC-V instruction set. It supports both bare-metal environments using Newlib or Picolibc and Linux environments using glibc, musl, or uClibc. The build system automatically fetches submodules on demand and handles compilation through a straightforward configure-and-make process, with different make targets for each C library variant.

Developers building embedded RISC-V systems or Linux applications for RISC-V processors should choose this toolchain. It suits projects ranging from bare-metal firmware to full Linux distributions. The tool generates compiler binaries with distinct prefixes depending on the target: riscv64-unknown-elf- for bare-metal work and riscv64-unknown-linux- variants for Linux targets. Building requires substantial resources—approximately 8 GB of disk space and 200 MB of initial downloads—and a comprehensive set of build dependencies, though the README provides installation commands for Ubuntu, Fedora, Arch Linux, and macOS.

The project maintains active development with regular updates to track upstream GCC and binutils changes. Contributions flow steadily across core compiler infrastructure and RISC-V-specific extensions. The maintainers respond to issues and pull requests with attention to both new features and compatibility across different build environments. Build system improvements and dependency management receive ongoing refinement to support an expanding range of host platforms.