Top 12 cross-compiler Open-Source Projects
Cross compiling toolchains in Docker imagesProject mention: Stable or unstable distros for cross-compiling? | reddit.com/r/embedded | 2022-08-02
Docker is great for self-contained build environments, no risk of them breaking each other. Eg. https://github.com/dockcross/dockcross
MXE (M cross environment)Project mention: Because cross-compiling binaries for Windows is easier than building natively | news.ycombinator.com | 2022-06-18
I used to use MXE  to compile fully static Windows binaries on Linux VMs hosted with Travis. It needed to crane in everything though, so it was a source of bottlenecks from time to time. I was also uncertain about the provenance of a lot of the dependencies in that toolchain. So when Travis died I took the opportunity to move Windows builds back to gnu with msys2, all over GH Actions. These are actually comparatively snappy and I’m reasonably satisfied with it.
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Simple makefile-based build for musl cross compilerProject mention: Alpine Linux: Brilliant Linux Distro | news.ycombinator.com | 2022-03-10
I've done the same alpine trick for static binaries but may I introduce you to musl-cross-make?
Just burned out static toolchains that make me static binaries for all architectures gcc supports. Much like musl.cc but they suggest building your own and I do.
I use these toolchains on debian (/ anywhere a non-ancient linux kernel runs) to make static binaries, you can too!
A small, light weight, RISC CPU soft coreProject mention: What make xilinx fpga runs soft core cpu faster than lattice | reddit.com/r/FPGA | 2022-03-27
check out this usage chart for the ZipCPU's logic usage (also linked above). Each line in the chart beginning with Zip represents a different CPU configuration. If the FPGA speeds were the same (they aren't typically), then each configuration line should have the same CPU speed (not counting interconnect, RAM or peripherals). Two of the columns measure iCE40 4-LUTs and Xilinx 6-LUTs.
Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled standalone toolchains for all Raspberry Pis. 🍇Project mention: musl.cc alternative | reddit.com/r/rust | 2022-01-10
Since you mentioned raspberry pi, I would like to point out there is a project that builds cross compilers for it.
A self-hosting and educational C compiler
Simple and lightweight source-based multi-platform Linux distribution with musl libc.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
An OCaml cross-toolchain for Android and several useful librariesProject mention: are there any applications on Android for coding in caml light? | reddit.com/r/learnprogramming | 2022-02-27
Nice nix expressions for cross-compiling.Project mention: Any projects using Nix to cross compile to MinGW/Windows? | reddit.com/r/NixOS | 2022-08-01
Found one: https://github.com/DavidEGrayson/nixcrpkgs
Homebrew formulas for buildling a valid GCC toolchain for the i386-elf target.Project mention: How to build XV6 on MacOS? | reddit.com/r/osdev | 2021-12-10
Install the i386-elf toolchain: https://github.com/nativeos/homebrew-i386-elf-toolchain
"Zero Setup" cross-compilation for C/C++. Supports numerous architectures, build systems, C standard libraries, vcpkg, and Conan.
Indirect threaded code version of CAMEL99 Forth for TI-99 computerProject mention: ncurses for FORTH? | reddit.com/r/Forth | 2022-06-30
cross-compiler related posts
Any projects using Nix to cross compile to MinGW/Windows?
4 projects | reddit.com/r/NixOS | 1 Aug 2022
ncurses for FORTH?
3 projects | reddit.com/r/Forth | 30 Jun 2022
Share cool Forth programs!
6 projects | reddit.com/r/Forth | 12 Jun 2022
Linux-to-Windows cross-compilation using MSYS2 packages
3 projects | reddit.com/r/cpp | 5 Jun 2022
What make xilinx fpga runs soft core cpu faster than lattice
1 project | reddit.com/r/FPGA | 27 Mar 2022
OS AXI4 Crossbar with good performance
4 projects | reddit.com/r/FPGA | 7 Mar 2022
1 project | reddit.com/r/rust | 10 Jan 2022
What are some of the best open-source cross-compiler projects? This list will help you:
Are you hiring? Post a new remote job listing for free.