{"id":13586863,"url":"https://github.com/messense/homebrew-macos-cross-toolchains","last_synced_at":"2026-02-15T04:07:43.115Z","repository":{"id":39340290,"uuid":"343104825","full_name":"messense/homebrew-macos-cross-toolchains","owner":"messense","description":"macOS cross compiler toolchains","archived":false,"fork":false,"pushed_at":"2024-09-23T13:24:32.000Z","size":164,"stargazers_count":920,"open_issues_count":3,"forks_count":60,"subscribers_count":17,"default_branch":"main","last_synced_at":"2024-10-30T00:30:27.653Z","etag":null,"topics":["cross-compiler-toolchain","gcc","gcc-cross-compiler","gcc-toolchain","macos","macos-toolchain"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/messense.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"messense"}},"created_at":"2021-02-28T12:53:45.000Z","updated_at":"2024-10-29T13:18:27.000Z","dependencies_parsed_at":"2024-11-21T05:17:51.841Z","dependency_job_id":null,"html_url":"https://github.com/messense/homebrew-macos-cross-toolchains","commit_stats":{"total_commits":86,"total_committers":5,"mean_commits":17.2,"dds":"0.13953488372093026","last_synced_commit":"2a0a4036993160f555a3df86a53a91a89a2701ac"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messense%2Fhomebrew-macos-cross-toolchains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messense%2Fhomebrew-macos-cross-toolchains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messense%2Fhomebrew-macos-cross-toolchains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messense%2Fhomebrew-macos-cross-toolchains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messense","download_url":"https://codeload.github.com/messense/homebrew-macos-cross-toolchains/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518379,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-compiler-toolchain","gcc","gcc-cross-compiler","gcc-toolchain","macos","macos-toolchain"],"created_at":"2024-08-01T15:05:52.014Z","updated_at":"2026-02-15T04:07:43.079Z","avatar_url":"https://github.com/messense.png","language":"Ruby","funding_links":["https://github.com/sponsors/messense"],"categories":["Ruby","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# macos-cross-toolchains\n\n\u003e 🚀 Help me to become a full-time open-source developer by [sponsoring me on GitHub](https://github.com/sponsors/messense)\n\nmacOS cross compiler toolchains, supports both Apple Silicon \u0026 Intel Macs.\n\nDownload precompiled toolchains from [GitHub Release](https://github.com/messense/homebrew-macos-cross-toolchains/releases)\n\nOr install using Homebrew:\n\n```bash\nbrew tap messense/macos-cross-toolchains\n# install x86_64-unknown-linux-gnu toolchain\nbrew install x86_64-unknown-linux-gnu\n# install aarch64-unknown-linux-gnu toolchain\nbrew install aarch64-unknown-linux-gnu\n```\n\n## Use with Rust\n\nSuppose you have installed `x86_64-unknown-linux-gnu` toolchain and have it on `PATH`,\nsetup the environment variables as below to use it with Cargo.\n\n```bash\nexport CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc\n```\n\nUsually only `CARGO_TARGET_*_LINKER` is required, in case it somehow fails to compile,\nyou can also set some extra environment variables:\n\n```bash\nexport CC_x86_64_unknown_linux_gnu=x86_64-linux-gnu-gcc\nexport CXX_x86_64_unknown_linux_gnu=x86_64-linux-gnu-g++\nexport AR_x86_64_unknown_linux_gnu=x86_64-linux-gnu-ar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessense%2Fhomebrew-macos-cross-toolchains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmessense%2Fhomebrew-macos-cross-toolchains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessense%2Fhomebrew-macos-cross-toolchains/lists"}