# Cross-compilation toolchains

> AI-ranked search results for `cross compilation toolchains` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 114 total matches; showing the top 12.

Explore on the web: https://awesome-repositories.com/q/cross-compilation-toolchains

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/cross-compilation-toolchains).**

## Results

- [mstorsjo/llvm-mingw](https://awesome-repositories.com/repository/mstorsjo-llvm-mingw.md) (2,860 ⭐) — 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
- [cross-rs/cross](https://awesome-repositories.com/repository/cross-rs-cross.md) (8,235 ⭐) — 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
- [riscv-collab/riscv-gnu-toolchain](https://awesome-repositories.com/repository/riscv-collab-riscv-gnu-toolchain.md) (4,540 ⭐) — 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
- [rust-cross/cargo-zigbuild](https://awesome-repositories.com/repository/rust-cross-cargo-zigbuild.md) (2,549 ⭐) — 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
- [zig-lang/zig](https://awesome-repositories.com/repository/zig-lang-zig.md) (43,152 ⭐) — 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
- [platformio/platformio-core](https://awesome-repositories.com/repository/platformio-platformio-core.md) (9,299 ⭐) — 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
- [richfelker/musl-cross-make](https://awesome-repositories.com/repository/richfelker-musl-cross-make.md) (1,532 ⭐) — 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
- [dockcross/dockcross](https://awesome-repositories.com/repository/dockcross-dockcross.md) (3,593 ⭐) — Cross compiling toolchains in Docker images
- [llvm/llvm-project](https://awesome-repositories.com/repository/llvm-llvm-project.md) (38,840 ⭐) — 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
- [f0rmiga/gcc-toolchain](https://awesome-repositories.com/repository/f0rmiga-gcc-toolchain.md) (136 ⭐) — 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.
- [rust-cross/rust-musl-cross](https://awesome-repositories.com/repository/rust-cross-rust-musl-cross.md) (743 ⭐) — Docker images for compiling static Rust binaries using musl-cross
- [coolsnowwolf/lede](https://awesome-repositories.com/repository/coolsnowwolf-lede.md) (31,479 ⭐) — 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
