3 ms·
You can already do that via cross compiling with osxcross[0], but you need the native SDK (you can copy it from any Mac). I have used it at the past as a part o
by badsectoracula 9y ago
You can already do that via cross compiling with osxcross[0], but you need the native SDK (you can copy it from any Mac). I have used it at the past as a part of a (Linux hosted) build process to create OSX binaries for some (GUI) stuff i was working on (the same process created Linux and Win32 binaries too).
[0] https://github.com/tpoechtrager/osxcross https://github.com/tpoechtrager/osxcross
- cat199 9y agoAnd you could already do that with opendarwin before it became broken due to apple not supporting this model any more, and before osxcross existed..
- SXX 9y agoWould it be legal to use something like osxcross on public CI service? Yeah I know Travis provide macOS instances, but I still wonder about that. Also how hard it is to use it with CMake?
- gsnedders 9y agoMozilla I believe is now Firefox using Clang on Linux, cross-compiling for macOS against a copy of the SDK, at least for test builds.
- SXX 9y agoThank you very much for information. I'll look into it since Travis Mac builds sometimes so annoyingly slow so for majority of builds we can just use cross compiler.