macOS-cross-compiler – Compile binaries for macOS on Linux

The macOS Cross Compiler project allows code cross-compilation on Linux for execution on macOS, supporting C, C++, Fortran, and Rust for newer macOS versions. Notably, it focuses on macOS 13 (Ventura) onwards, and while older versions might work, they are not extensively tested. The project, available as a Docker image, simplifies distribution due to numerous host dependencies. It includes compilers and the macOS SDK, aiding in compiling programs easily. Additionally, support for various languages and macOS versions is highlighted, making it a valuable resource for modern macOS development with clang, GCC, Zig, and Rust.

https://github.com/shepherdjerred/macos-cross-compiler

To top