A GCC-compatible C compiler written in Rust
Rust 96%
C 4%
Nushell <1%
Nix <1%

README.md

Oxidized GCC #

Part of the overby.me monorepo, where this lives in safety/oxidized/gcc and where all development happens.

It is also published on its own, as tangled.org/overby.me/oxidized-gcc and github.com/overby-me/oxidized-gcc. Both are read-only mirrors, rebuilt from the monorepo with josh: a commit made to either is overwritten by the next sync, so please open issues and pull requests on the monorepo.

A GCC-compatible C compiler written in Rust, targeting x86-64, i686, ARM64, and RISC-V.

Based on Claude's C Compiler (ccc) by Anthropic.

Binaries #

Binary Description
gcc Default (auto-detects target)
cc Symlink to gcc
gcc-x86 x86-64 target
gcc-i686 i686 (32-bit x86) target
gcc-arm ARM64/AArch64 target
gcc-riscv RISC-V target

Usage in rust-nixpkgs #

This package is intended as a drop-in GCC replacement for the Rust stdenv in nixpkgs. It includes a built-in assembler and linker, removing the dependency on GNU binutils for many packages.

License #

CC0 1.0 Universal (Public Domain) — see LICENSE.