LWN: Comments on "Darling: macOS compatibility for Linux" https://lwn.net/Articles/794871/ This is a special feed containing comments posted to the individual LWN article titled "Darling: macOS compatibility for Linux". en-us Sat, 27 Sep 2025 10:30:13 +0000 Sat, 27 Sep 2025 10:30:13 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Darling: macOS compatibility for Linux https://lwn.net/Articles/795153/ https://lwn.net/Articles/795153/ thumperward <div class="FormattedComment"> See osxcross (<a href="https://github.com/tpoechtrager/osxcross">https://github.com/tpoechtrager/osxcross</a>).<br> </div> Fri, 02 Aug 2019 08:40:27 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/795084/ https://lwn.net/Articles/795084/ ashkulz <div class="FormattedComment"> You can use vagrant for running under Linux, see <a href="https://github.com/wkhtmltopdf/packaging">https://github.com/wkhtmltopdf/packaging</a> which produces binaries for Windows, macOS and multiple Linux distributions from a single Linux machine.<br> </div> Thu, 01 Aug 2019 13:25:22 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/795016/ https://lwn.net/Articles/795016/ rillian <p>These days Mozilla cross-compiles Firefox for macOS, but there's still a large pile of minis for running tests. They use normal clang+llvm and a port of Apple's cctools, built by <a href=https://github.com/mozilla/gecko-dev/tree/master/taskcluster/scripts/misc>these scripts</a> from <a href=https://github.com/mozilla/gecko-dev/blob/master/taskcluster/ci/fetch/toolchains.yml>these sources</a>.</p> <p>One still needs a mac to install xcode and obtain a copy of the macOS SDK, and to sign binaries for distribution. Maybe that will be something Darling will help with.</p> Wed, 31 Jul 2019 15:34:54 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794964/ https://lwn.net/Articles/794964/ mathstuf <div class="FormattedComment"> Do you have links to docs and/or guides for doing the cross-compiling to macOS from Linux?<br> <p> A quick search shows imcross, but that seems quite outdated and uses GCC, not an Xcode-like toolchain.<br> </div> Wed, 31 Jul 2019 13:21:39 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794963/ https://lwn.net/Articles/794963/ mathstuf <div class="FormattedComment"> Why would building be even sketchier? Personally, I'm interested in this as a way to containerize our macOS builds (then shipping the build trees to a macOS box for actual testing) since getting hermetic, reproducible macOS builds isn't possible until Apple cares enough to implement containers for their platform.<br> </div> Wed, 31 Jul 2019 13:18:25 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794962/ https://lwn.net/Articles/794962/ thumperward <div class="FormattedComment"> Carbon was also available for 32-bit Intel. It's also not the case that Carbon is exclusively a backwards compatibility thing: the OS X Finder used Carbon until like OS X 10.6.<br> </div> Wed, 31 Jul 2019 13:12:45 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794961/ https://lwn.net/Articles/794961/ nilsmeyer <div class="FormattedComment"> MacOS 8 and 9 compatibility? Aren't those strictly PowerPC? <br> </div> Wed, 31 Jul 2019 12:40:45 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794960/ https://lwn.net/Articles/794960/ BirAdam <div class="FormattedComment"> There are projects like GNU Step that have some similarity to the macOS environment, and once upon a time there was Étoilé which aimed to be source compatible with macOS. GNU Step and Étoilé never became too popular, but I suppose some parts might be easier than one would imagine.<br> <p> Anyway, development on macOS is happening so quickly now that I doubt any project like this would really ever be that useful. macOS releases happen every year. This is kind of like Windows too. WINE has had a hard go of it because Microsoft changes Windows in major ways quite often now. In the XP days, things were a bit easier and WINE came a very long way in that time because Windows was stable and unchanging for a very long time. Now, things are changing briskly. Most of the major compatibility gains have been due to Valve, ReactOS, and WINE all working toward compatibility. I doubt we will ever see many people needing/wanting macOS software working on Linux.<br> </div> Wed, 31 Jul 2019 11:59:51 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794957/ https://lwn.net/Articles/794957/ thumperward <div class="FormattedComment"> You can already cross-compile to macos targets on Linux (to an extent). This is more about the sort of things Wine does: firstly, permitting proprietary macos applications to run on Linux, and secondly, bridging the development gap so that developers who wish to port existing macos applications to Linux have an easier time of it.<br> <p> It doesn't solve the problem of needing a cupboard full of Mac Minis to actually test macos builds, for the same reason that it isn't really adequate to test Windows builds by running them on a Linux box via Wine.<br> </div> Wed, 31 Jul 2019 09:11:18 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794953/ https://lwn.net/Articles/794953/ k8to <div class="FormattedComment"> You can't really test Mac applications in this environment.<br> <p> Mac applications break in all kinds of ways across minor macosx versions. Vetting them in this environment wound tell you very little.<br> <p> Building would be even sketchier. You need the entire system library set, not just a compatability layer. <br> </div> Wed, 31 Jul 2019 01:15:10 +0000 Darling: macOS compatibility for Linux https://lwn.net/Articles/794948/ https://lwn.net/Articles/794948/ bovinespirit <div class="FormattedComment"> Building Mac applications on Linux is huge! Mozilla apparently has a huge number of MiniMacs for building and testing, and I imagine many other projects do too. Lovely as MiniMacs are they are not designed or built for server farms so moving at least some of the work onto purpose built Linux servers would be a win.<br> <p> On the downside I would imagine that because Darling relies on a Kernel plugin it can't run inside a container on a standard Linux distro.<br> </div> Tue, 30 Jul 2019 22:39:38 +0000