For c family compilers, the strongest matches are mstorsjo/llvm-mingw (This repository provides an LLVM-based C and C++ cross-compiler), gcc-mirror/gcc (This repository is the canonical GNU Compiler Collection, providing) and zig-lang/zig (Zig serves as a modern systems programming language and). anthropics/claudes-c-compiler and llvm/llvm-project round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Explore the best open-source C compilers on GitHub, ranked by stars and activity, and compare top alternatives to find the right one.
Llvm-mingw is an LLVM-based cross-compiler toolchain and MinGW-w64 development suite that builds native Windows executables from non-Windows operating systems using Clang and LLD. It compiles C and C++ source code into native portable executable binaries targeting multiple Windows CPU architectures from a single host environment. The toolchain supports configuring builds to use specific C runtime library targets for compatibility across different operating system versions. It includes capabilities for producing native Windows debug information and CodeView debug symbols alongside compiled bin
This repository provides an LLVM-based C and C++ cross-compiler toolchain tailored for targeting Windows from non-Windows hosts, fulfilling the core compiling requirement despite lacking generic GCC compatibility and JIT features.
This project is a multi-language compiler collection and cross-platform toolchain used to translate source code from various programming languages into optimized machine code for different hardware architectures. It provides a suite of tools including an optimizing compiler backend, a machine code generator, and a comprehensive runtime library suite that implements necessary execution environments and support functions. The system utilizes a multi-pass compilation pipeline and pluggable language front-ends to process source code into intermediate representations. It distinguishes itself throu
This repository is the canonical GNU Compiler Collection, providing full C, C++, and Objective-C support, optimization pipelines, and cross-compilation toolchains for a vast array of embedded and desktop targets.
Zig is a low-level systems programming language designed for writing high-performance software that interacts directly with hardware. It focuses on the transformation of source code into machine binaries for the execution of low-level operations. The project is distinguished by its native support for cross-compilation, allowing binaries for various operating systems and CPU architectures to be built from a single host. It provides direct interoperability with the C language, enabling the import of headers and function calls without a foreign function interface. The language utilizes manual m
Zig serves as a modern systems programming language and complete compiler toolchain featuring built-in cross-compilation and native C interoperability, though it uses its own custom backend rather than LLVM/Clang or GCC.
Claudes C Compiler is a self-contained C compiler toolchain that parses source code, optimizes intermediate representations, and generates machine code without relying on external assemblers, linkers, or toolchain dependencies. It translates C source files directly into standalone executable binaries, object files, or assembly text across multiple hardware architectures. The project provides built-in assembly and linking capabilities, processing architecture-specific assembly text, encoding instructions, combining object files and static archives, resolving symbols, applying relocations, and
Claudes C Compiler is a self-contained C compiler toolchain that handles parsing, optimization, and code generation, though it focuses on C rather than the full C++ and LLVM/Clang ecosystem requested.
The project is a modular compiler infrastructure framework designed for building programming language toolchains, frontends, and backends. It provides a comprehensive suite of reusable libraries and tools that enable developers to transform source code into efficient native executables across diverse hardware architectures and operating systems. At its core, the system utilizes a language-agnostic intermediate representation bitcode, which serves as a unified format for code analysis, optimization, and machine-specific code generation. What distinguishes this framework is its highly decoupled
This repository provides the core LLVM and Clang compiler infrastructure that powers C, C++, and Objective-C toolchains with robust optimization, cross-compilation, and backend support.
The project is a reusable collection of modular compiler and toolchain technologies designed for building optimizers, code generators, and multi-language programming environments. It provides foundational compiler frontend technologies that translate source code written in C, C++, and Objective-C into a low-level programming language and intermediate code format. This intermediate representation enables cross-language analysis, program transformation, and target-independent optimization alongside a cross-platform programming framework that allows developers to write single-source accelerated a
This repository is Intel's staging area for the LLVM project, providing a robust Clang and LLVM-based compiler toolchain complete with advanced code optimization, cross-compilation capabilities, and C++ support tailored for diverse architectures.
Carbon is an experimental, compiled systems programming language designed as a successor to C++. It focuses on providing a high-performance environment for modern software development while prioritizing memory safety and expressive generic programming. The language is built to support performance-critical engineering, allowing for precise control over memory layout and execution flow. A primary differentiator of the project is its bidirectional interoperability with existing C++ codebases. This allows developers to call functions and share data between languages without manual wrappers, facil
Carbon is an experimental programming language designed as a successor to C++ with bidirectional C++ interoperability and a compiler toolchain, though it is a new language rather than a traditional toolchain for existing C/C++ codebases.
Mirror kept for legacy. Moved to https://github.com/llvm/llvm-project
Clang is an essential C/C++ compiler toolchain featuring a robust LLVM backend, GCC compatibility, and powerful code optimization and cross-compilation capabilities, though this specific mirror is outdated.
LLVM is a modular compiler infrastructure and framework consisting of a collection of reusable libraries used to build language front-ends and optimization tools. It functions as a low-level virtual machine that provides an intermediate representation and optimization pipeline to enable language-agnostic code generation. The project provides a toolkit for just-in-time compilation, translating intermediate representations into machine code at runtime for immediate execution. Its modular design allows developers to create custom language front-ends and high-performance runtime environments acro
While this repository provides the core modular infrastructure and optimization pipeline that powers modern toolchains, it is a reusable library and framework for building compilers rather than a complete, end-user C/C++ compiler toolchain.
rpi4-osdev is a project for bare metal operating system development targeting the Raspberry Pi 4. It focuses on creating a custom operating system that runs directly on the hardware without an underlying kernel or abstraction layer. The project provides a codebase and instructional guide for developing a low-level system from scratch. This process involves transitioning from early boot code to kernel execution on the ARM64 architecture. The technical scope covers embedded system bootstrapping and low-level hardware interfacing. This includes managing memory-mapped I/O, physical address mappi
This repository provides a bare-metal operating system development guide and codebase for the Raspberry Pi 4 rather than being a standalone C/C++ compiler toolchain.
Scala Native is an ahead-of-time compiler that transforms Scala source code into standalone native binaries for direct execution on hardware. It provides a native binary toolchain designed to eliminate virtual machine warm-up times and ensure instant startup by compiling code into optimized executables. The project features a C interoperability interface and foreign function interface that map native C headers to language objects, allowing for the direct execution of external libraries. It includes a low-level memory manager that supports direct pointer manipulation and the use of structs for
Scala Native is an ahead-of-time compiler and toolchain that uses an LLVM backend, but its primary identity is compiling Scala rather than serving as a compiler toolchain for C, C++, or Objective-C source code.
ReactOS is an open-source operating system designed to be binary compatible with Windows applications and drivers. It consists of a low-level system kernel that manages hardware resources and a binary compatibility layer that enables the execution of software designed for the Windows binary interface. The project implements a cross-platform build system and toolchain for compiling and deploying bootable operating system images across different hardware architectures. This includes the use of cross-compilation toolchains and a hardware-abstraction layer to support various processor and motherb
ReactOS is an entire operating system project rather than a general-purpose C/C++ compiler toolchain, making it the wrong category despite including internal build systems and cross-compilation tools for its own source tree.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| mstorsjo/llvm-mingw | 2.9K | C | NOASSERTION | |
| gcc-mirror/gcc | 11K | C++ | GPL-2.0 | |
| zig-lang/zig | 43.2K | Zig | MIT | |
| anthropics/claudes-c-compiler | 2.3K | Rust | cc0-1.0 | |
| llvm/llvm-project | 38.8K | LLVM | NOASSERTION | |
| intel/llvm | 1.5K | LLVM | NOASSERTION | |
| carbon-language/carbon-lang | 33.8K | C++ | NOASSERTION | |
| llvm-mirror/clang | 3K | C++ | NOASSERTION | |
| llvm-mirror/llvm | 4.6K | LLVM | NOASSERTION | |
| babbleberry/rpi4-osdev | 3.8K | C | CC0-1.0 |