How to cross Compile on Debian for: Mac / FreeBSD / OpenBSD / Android ... ?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • taptempo

    For the special case of android you can look here: and here:

  • osxcross

    Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)

    If you actually have MacOS device and can install Xcode and so on then you can proceed here and read the instructions.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    I cross compile to Mac, bsd, windows, etc cross ... Works great for me with either docker or podman.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts