For cross compilation tooling, the first results are zig-lang/zig (Zig doubles as a robust cross-compilation toolchain with built-in multi-architecture target support and a bundled LLVM backend, though it is primarily a programming language rather than a dedicated build utility for existing C or Rust projects), cross-rs/cross (Cross provides container-based cross-compilation environments specifically tailored for Rust and Cargo, making it an effective choice for building foreign-architecture binaries despite its language-specific scope) and riscv-collab/riscv-gnu-toolchain (This project is a cross-compiler toolchain for C and C++ targeting RISC-V hardware, perfectly matching the target architecture goal though narrowly focused on a single processor family rather than being a universal cross-compilation suite). mitchellh/gox and dockcross/dockcross round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Hand-picked cross-compilation tools to build binaries for multiple platforms from a single host. Compare top repositories and find the best fit.
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 doubles as a robust cross-compilation toolchain with built-in multi-architecture target support and a bundled LLVM backend, though it is primarily a programming language rather than a dedicated build utility for existing C or Rust projects.
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 specifically tailored for Rust and Cargo, making it an effective choice for building foreign-architecture binaries despite its language-specific scope.
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-compiler toolchain for C and C++ targeting RISC-V hardware, perfectly matching the target architecture goal though narrowly focused on a single processor family rather than being a universal cross-compilation suite.
Gox is a cross-platform build automator and command line tool designed for Go cross-compilation. It serves as a toolchain manager that builds and configures the necessary compilation tools and flags required to target diverse hardware platforms. The system automates the setup, installation, and provisioning of the assemblers and linkers needed for different operating systems and architectures. It manages the generation of executable binaries for multiple platforms in parallel, utilizing custom naming templates and linker flags to prepare software releases. The tool provides capabilities for
Gox is a cross-platform build tool specifically designed to automate Go binary generation across multiple architectures, making it a fitting utility for cross-compilation despite being tailored to a single language ecosystem rather than a general-purpose C/C++/LLVM toolchain.
Cross compiling toolchains in Docker images
Dockcross provides containerized cross-compilation toolchains packaged in Docker images, fulfilling the core cross-compilation requirement with multi-architecture support and containerized builds, though it lacks direct cargo integration out-of-the-box.
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
This cargo subcommand uses Zig as a drop-in linker to simplify Rust cross-compilation without complex toolchain setups, fitting the requested compilation utility category.
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 project provides a specialized LLVM-based MinGW-w64 toolchain that allows you to compile Windows binaries from other operating systems, fulfilling the core cross-compilation capability despite lacking some of the broader multi-architecture and containerized features.
Docker images for compiling static Rust binaries using musl-cross
This project provides containerized Docker images specifically designed for cross-compiling static Rust binaries using musl-cross, fitting the cross-compilation toolchain category well despite lacking native integration for cmake or complex sysroot management.
FFmpeg-Builds is a cross-platform compilation toolchain and custom build system designed to generate static executables of the FFmpeg multimedia framework. It provides a distribution of pre-compiled binaries for multiple operating systems and hardware architectures. The project utilizes a Docker-based build environment to isolate toolchains and dependencies. This containerized approach enables multi-architecture cross-compilation and allows for parameter-driven feature selection to include specific codecs, libraries, and license options in the final binaries. The system manages the entire wo
This project is a specialised build system for compiling static FFmpeg binaries rather than a general-purpose cross-compilation toolchain for building arbitrary codebases across architectures.
This repository is the Armbian build framework — an embedded Linux build system for generating custom operating system images tailored to single-board computers, primarily targeting ARM and RISC-V architectures. The build process is orchestrated by GNU Makefiles and relies on a chroot-based environment to assemble the root filesystem, manage cross-compilation toolchains, and aggregate binary firmware blobs for hardware compatibility. Kernel and bootloader source trees are fetched via git, with structured patches applied in a controlled sequence, while each supported board is described by a ded
This repository is a full operating system image builder for single-board computers rather than a dedicated cross-compilation toolchain or build utility for compiling arbitrary software binaries.
This project is a game decompilation project consisting of a reconstructed C source codebase and the systems used for binary reconstruction. It provides a human-readable version of a commercial game title created through static and dynamic analysis to facilitate technical study and modification. The project utilizes a containerized build environment to ensure reproducible compilation and consistent toolchain versions across different host operating systems. It includes a game binary reconstructor that translates original machine code into source code and a system for compiling the codebase in
This project is a specific game decompilation repository rather than a general-purpose cross-compilation toolchain or build utility for compiling arbitrary software across architectures.
Proton is a compatibility layer designed to enable the execution of Windows-based software on non-Windows operating systems. It functions as a controlled runtime environment that maps proprietary system calls to native kernel functions and translates graphics API commands into open-standard compute shaders. This allows applications to run without requiring modifications to their original source code. The project distinguishes itself through a robust toolchain for reproducible builds, which utilizes containerized isolation to ensure consistent binary outputs across different development enviro
Proton is a Windows-to-Linux compatibility layer and runtime environment rather than a general-purpose cross-compilation toolchain for building binaries targeting different architectures.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| zig-lang/zig | 43.2K | Zig | MIT | |
| cross-rs/cross | 8.2K | Rust | Apache-2.0 | |
| riscv-collab/riscv-gnu-toolchain |
| 4.5K |
| C |
| NOASSERTION |
| mitchellh/gox | 4.6K | Go | MPL-2.0 |
| dockcross/dockcross | 3.6K | Shell | MIT |
| rust-cross/cargo-zigbuild | 2.5K | Rust | MIT |
| mstorsjo/llvm-mingw | 2.9K | C | NOASSERTION |
| rust-cross/rust-musl-cross | 743 | Shell | MIT |
| btbn/ffmpeg-builds | 10.4K | Shell | mit |
| armbian/build | 5.1K | Shell | gpl-2.0 |