Rust Rewrite Index

GCC

GNU C compiler

Rust efforts

Research record · 2026-11-29

Searched GCC/GNU Compiler Collection Rust rewrite, C-compiler implementations, GCC Rust frontend and Rust GCC backend. The sources show independent Rust C compilers, not a translation of GCC 14 and its multi-language toolchain. gccrs is a GCC frontend for compiling Rust, and rustc_codegen_gcc uses GCC as a backend; neither is a GCC rewrite in Rust.

Rust alternative

wrecc

A from-scratch Rust C99 compiler targeting x86-64; substantially narrower than the GCC compiler collection.

Evidence checked 2026-11-29
Rust alternative

rucc

Early independent Rust C compiler project; its README says it does not yet compile C. It is not a GCC port.

Evidence checked 2026-11-29

Project structure

Language frontends feed shared middle-end representations. Optimization passes transform them and target-specific backends emit machine code.

Selected components packaged from this source in Debian 13.

  • gcc-14 · GNU C compiler
  • gcc-14-base · GCC, the GNU Compiler Collection (base package)
  • gcc-14-source · Source of the GNU Compiler Collection
  • gcc-14-for-host · GNU C compiler for the host architecture
  • gcc-14-multilib · GNU C compiler (multilib support)
  • gcc-14-for-build · GNU C compiler for the build architecture