3 ms·
Very little of the components of macOS are open source, except for XNU kernel, WebKit, and compiler. You’d have a hard time taking what’s on opensource.apple.co
by IMcD23 9y ago
Very little of the components of macOS are open source, except for XNU kernel, WebKit, and compiler. You’d have a hard time taking what’s on opensource.apple.com and making an OS.
- radicaldreamer 9y agoYeah, open source Darwin was fairly useless except in very rare situations or for hobbyist poking around.
- tannhaeuser 9y agoOpen Source Darwin could be useful for Mac OS builds of F/OSS software eg. daemon-like and command-line apps without native GUI.
- badsectoracula 9y agoYou 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.