Hacker GitHub

← All repos

tpoechtrager/osxcross

View on GitHub ↗ ★ 3,412 C++

MacOS Cross-Toolchain for Linux and *BSD

20 mentions on Hacker News by 17 people: 1 story, 19 comments · first 2013-12-29 · latest 2026-08-03

Mentions per year 20 mentions · busiest year 2023 (4)
20082026
  1. …down, unfortunately, and actually getting it set up is a bit of a hassle. but it does work. [0]: https://github.com/tpoechtrager/osxcross
  2. …[0]: https://github.com/ziglang/zig/issues/20689 , https://github.com/ziglang/zig/issues/21721 [1]: https://github.com/tpoechtrager/osxcross
    comment by ezekg · 2025-03-05 · in Zig-0.14.0 Landed
  3. Cross-compiling is likely a better approach: https://github.com/tpoechtrager/osxcross This is how Godot targets iOS: https://github.com/godotengine/build-containers/blob/main/Do... Here's a Docker image with the tools preinstalled, though…
    comment by shepherdjerred · 2024-07-31 · in macOS in QEMU in Docker
  4. …you to. Its possible, there are projects that allow you to do so, but it violates Apple's license. https://github.com/tpoechtrager/osxcross Also its not fair to compare hobbies like photography or music to programming, you don't need any…
  5. Here you go: https://github.com/tpoechtrager/osxcross
    comment by roblabla · 2023-11-26 · in Darling: Run macOS Software on Linux
  6. Thankfully osxcross[0] is already a thing and does already work fairly well. [0] https://github.com/tpoechtrager/osxcross
  7. Technically it's possible, but possibly not legal: https://github.com/tpoechtrager/osxcross > Please ensure you have read and understood the Xcode license terms before continuing. According to the EULA you may only use the SDK on…
  8. For macOS: https://github.com/tpoechtrager/osxcross
    comment by shepherdjerred · 2023-04-08 · in Go port of SQLite without CGo
  9. …(at least if you have a developer account), or from various GitHub projects archiving them. [0]: https://github.com/tpoechtrager/osxcross
  10. For compiling, I'm pretty happy with https://github.com/tpoechtrager/osxcross .
  11. Cross-compiling is possible, but breaks the Xcode/Apple SDK license terms. https://github.com/tpoechtrager/osxcross#packaging-the-sdk https://www.apple.com/legal/sla/docs/xcode.pdf
    comment by david_allison · 2021-12-02 · in Amazon EC2 M1 Mac Instances
  12. There is osxcross: https://github.com/tpoechtrager/osxcross
  13. …clang all the time. You just need to grab the sdk from xcode and get your toolchain all setup. https://github.com/tpoechtrager/osxcross
    comment by pengaru · 2020-05-02 · in Valve drops VR support for macOS
  14. …programs for macOS on Linux and FreeBSD. You'd need an Apple developer account to download the SDK. https://github.com/tpoechtrager/osxcross
  15. https://github.com/tpoechtrager/osxcross/ It may not be a viable solution for every project, but it does work for many.
    comment by viraptor · 2019-06-10 · in Apple Is Listening
  16. > https://github.com/tpoechtrager/osxcross for the compiler and libraries. yes, I know osxcrooss but it is not legal to use if you aren't developing on apple hardware which makes it a bit cumbersome. Grep for "Authorized Test Units" in the…
    comment by jcelerier · 2018-06-19 · in Qt for WebAssembly
  17. https://github.com/tpoechtrager/osxcross for the compiler and libraries. You might be even able to simply install Qt there using MacPorts, so no manual compiling or unpacking the SDKs into osxcross's rootfs should be needed. A properly…
    comment by seba_dos1 · 2018-06-19 · in Qt for WebAssembly
  18. …for some (GUI) stuff i was working on (the same process created Linux and Win32 binaries too). [0] https://github.com/tpoechtrager/osxcross
    comment by badsectoracula · 2017-09-14 · in MacOS 10.12.6 Source
  19. …best case would be: a) something like http://www.puredarwin.org/ could be updated b) something like https://github.com/tpoechtrager/osxcross could drop the step of grabbing files from xcode