messense/homebrew-macos-cross-toolchains
messense/homebrew-macos-cross-toolchains has 1,208 GitHub stars and 76 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 08:24 UTC. Last push 2026-10-15.
macOS cross compiler toolchains
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmacos-cross-toolchains
🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub
macOS cross compiler toolchains, supports both Apple Silicon & Intel Macs.
Download precompiled toolchains from GitHub Release
Or install using Homebrew:
brew tap messense/macos-cross-toolchains
# install x86_64-unknown-linux-gnu toolchain
brew install x86_64-unknown-linux-gnu
# install aarch64-unknown-linux-gnu toolchain
brew install aarch64-unknown-linux-gnu
Use with Rust
Suppose you have installed x86_64-unknown-linux-gnu toolchain and have it on PATH,
setup the environment variables as below to use it with Cargo.
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc
Usually only CARGO_TARGET_*_LINKER is required, in case it somehow fails to compile,
you can also set some extra environment variables:
export CC_x86_64_unknown_linux_gnu=x86_64-linux-gnu-gcc
export CXX_x86_64_unknown_linux_gnu=x86_64-linux-gnu-g++
export AR_x86_64_unknown_linux_gnu=x86_64-linux-gnu-ar
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars