For cross compilation toolchains, the strongest matches are mstorsjo/llvm-mingw (This LLVM-based cross-compiler toolchain lets you build native Windows), cross-rs/cross (Cross provides container-based cross-compilation environments for building and testing) and riscv-collab/riscv-gnu-toolchain (This project is a cross-compilation toolchain that builds binaries). rust-cross/cargo-zigbuild and zig-lang/zig round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked open-source cross-compilation toolchains ranked by stars and activity. Compare the top options and pick 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 LLVM-based cross-compiler toolchain lets you build native Windows executables from non-Windows host environments, fitting the cross-compilation category well though specifically focused on Windows targets rather than general-purpose embedded systems.
Cross is a container-based build environment and cross-compilation tool for Rust. It functions as a multi-architecture binary builder and testing framework, allowing users to compile crates into binaries for different operating systems and CPU architectures without installing local toolchains on the host system. The project distinguishes itself by using Docker images to provide consistent toolchains and system dependencies for foreign target architectures. It integrates the Zig toolchain within container images to facilitate compilation across various architectures and library versions, and i
Cross provides container-based cross-compilation environments for building and testing binaries across multiple architectures and operating systems without local toolchain setup, making it an ideal tool for this search.
This project is a cross-compiler toolchain for RISC-V software development. It provides the necessary components to compile C and C++ source code into executable binaries and libraries specifically for the RISC-V hardware architecture. The toolchain supports multi-architecture binary generation and multilib capabilities, allowing a single installation to target various instruction set specifications and bit-widths. It integrates with alternative compilers such as LLVM and Clang and includes a bootstrapped build pipeline to produce high-performance versions of the tools. The system covers bro
This project is a cross-compilation toolchain that builds binaries for RISC-V targets, fitting the core category well while being specifically tailored to a single architecture family rather than a general-purpose generator.
Cargo-zigbuild is a build tool that compiles Rust projects for different operating systems and architectures using the Zig compiler as an external linker. It functions as an environment-driven wrapper that intercepts standard build commands and injects the target configurations, paths, and flags required for cross-compilation without requiring complex native toolchains. The tool enables cross-platform compilation workflows and configures minimum required standard C library versions for Linux builds by appending version suffixes directly to target specifications. It also packages multi-archite
Cargo-zigbuild is a Rust cross-compilation tool that leverages the Zig compiler to build multi-architecture binaries without complex native toolchains, fitting the cross-compilation category well despite lacking native Docker integration and musl-specific configuration.
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 provides built-in cross-compilation capabilities that allow you to target multiple operating systems and architectures directly from the compiler without complex toolchain generation, though it uses its own toolchain and runtime rather than generating external GCC-based toolchains.
PlatformIO Core is a toolset for embedded software development that manages the compilation, flashing, and debugging of firmware for various microcontroller targets. It provides a cross-platform build system that automates the process of transforming source code into binaries and transferring them to hardware via serial protocols. The system uses a plugin-based architecture to extend hardware platform support and incorporates a manifest-driven approach to resolve and install the specific toolchains, frameworks, and libraries required for different board definitions. Capabilities cover the fu
PlatformIO Core manages and generates cross-compilation toolchains for embedded microcontrollers, fitting the target requirements although its primary focus is firmware development rather than general-purpose operating system toolchain generation.
Musl-cross-make is a build system that automatically downloads, patches, and compiles source components to generate relocatable cross-compilation toolchains targeting the musl C library. It functions as an automated build environment for creating custom cross-compilers and standard library toolchains for alternative target architectures. The system orchestrates the sequential downloading, patching, configuring, and compiling of multi-component toolchains, applying distribution-specific bug fixes and architecture patches directly to extracted source trees. It downloads required upstream source
This repository generates custom cross-compilation toolchains targeting musl libc for various embedded and system architectures, directly matching your need for automated toolchain generation.
Cross compiling toolchains in Docker images
Dockcross provides containerized cross-compilation toolchains that support multiple target architectures and embedded systems with integrated Docker workflows.
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
LLVM provides the foundational compiler infrastructure and target-specific backends used to build cross-compilation toolchains for diverse architectures, though it requires external wrapper projects to generate complete standalone system toolchains with specific libc pairings like musl.
This is a fully-hermetic Bazel GCC toolchain for Linux that provides cross-compilation support for multiple architectures. The toolchain includes custom-built GCC binaries and sysroots optimized for performance and portability. You can find the comprehensive documentation under docs.
This Bazel-based GCC toolchain provides cross-compilation support for multiple architectures with hermetic execution, though it lacks explicit mention of musl libc support and Docker integration.
Docker images for compiling static Rust binaries using musl-cross
This repository provides Docker images for building static binaries for different targets using musl libc, which fits the cross-compilation toolchain generation category well despite being tailored specifically for Rust.
Lede is an embedded Linux build tool and firmware build system designed to generate bootable operating system images for routers and embedded network devices. It functions as a network device OS compiler that manages toolchains and target architectures to produce customizable firmware. The system enables the creation of custom router operating systems by integrating external package feeds from remote Git repositories. This allows for the expansion of available software packages and the tailoring of network appliance features during the build process. The build environment covers toolchain-ba
This repository generates embedded Linux firmware and manages cross-compilation toolchains for custom router targets, aligning well with the search for cross-compilation toolchain builders even though its primary focus is firmware assembly.
| Repositorio | Estrellas | Lenguaje | Licencia | Último push |
|---|---|---|---|---|
| mstorsjo/llvm-mingw | 2.9K | C | NOASSERTION | |
| cross-rs/cross | 8.2K | Rust | Apache-2.0 | |
| riscv-collab/riscv-gnu-toolchain | 4.5K | C | NOASSERTION | |
| rust-cross/cargo-zigbuild | 2.5K | Rust | MIT | |
| zig-lang/zig | 43.2K | Zig | MIT | |
| platformio/platformio-core | 9.3K | Python | Apache-2.0 | |
| richfelker/musl-cross-make | 1.5K | Makefile | mit | |
| dockcross/dockcross | 3.6K | Shell | MIT | |
| llvm/llvm-project | 38.8K | LLVM | NOASSERTION | |
| f0rmiga/gcc-toolchain | 136 | Starlark | Apache-2.0 |