Live data from Hacker News

Virtualize OS X on Linux

grodola.blogspot.com

101–110 of 143 posts

Re: Virtualize OS X on Linux

#101
post #83
post #80

Earlier quoted context omitted.

If everything is using cmake, and you don't need any inline assembly or fortran for scientific code, then maybe. But you end up in a parallel universe where everything that touches MSVC is just needlessly different than every other platform. If mingw gcc is working for you, then it's much easier for dev skills to transfer between building for Windows and building for unix. If you do need inline assembly and/or Fortra…

Well, and that's the trick. Originally, I shied away from VC because I link into LAPACK. Even if I hook into a precompiled library from a manufacturer, they use the same name mangling scheme as Fortran. In order to figure that out, both autotools and CMake compile a small Fortran program and check, which means that I need a Fortran compiler. Technically, I could set a macro to the name mangling by hand since there's…

Or Intel will sell you their Fortran compiler. I guess you can get academic or open source license deals too, but it ends up feeling like you need a law degree to determine whether or not you can redistribute the results.

Kind of annoying that Intel's Fortran compiler on Windows is the only commonly-used one that doesn't at least allow you to ask for gfortran-compatible mangling. Hopefully if the PGI LLVM Fortran front-end ever gets released it'll be another option (fingers crossed that it uses gfortran compatible mangling so life is simpler).

Re: Virtualize OS X on Linux

#102
post #45

It's really sad that the only way to get macOS running in a virtual machine is with hacks and tweaks. I'm working on a cross platform desktop app written in Qt and while it should theoretically work on macOS I haven't had a chance to actually try it, because I don't own any Apple computers. Apple is shooting themselves in the foot.

It's how they enforce their monopoly. To the point of driving their market share down below mainstream.

The enforce their monopoly by having low market share. Got it.

Re: Virtualize OS X on Linux

#103

It's really sad that the only way to get macOS running in a virtual machine is with hacks and tweaks. I'm working on a cross platform desktop app written in Qt and while it should theoretically work on macOS I haven't had a chance to actually try it, because I don't own any Apple computers. Apple is shooting themselves in the foot.

There are a lot of tutorials how to install macOS in a virtual machine.

Google it or search on Youtube. This works well for testing purposes

Re: Virtualize OS X on Linux

#104
post #27

Earlier quoted context omitted.

> Apple is shooting themselves in the foot. How is that exactly? A huge majority of developers in your situation go out and buy a Mac; another hardware purchase in their pocket. This is part of their business strategy: developers are forced to participate, and by and large they do just that. It hurts you far more than it does Apple by refusing to participate. If you believe you're "hurting Apple" by not developing fo…

So I'm one of those developers that got forced into buying a Mac Mini in order to test my software on MacOS. On one hand, you're correct that Apple "won" because I was pushed into spending $500 on their hardware. On the other hand, the parent is very much correct. Candidly, I'm still angry at Apple for making their ecosystem a pain in the ass to work with. Hell, I would have paid good money to buy a MacOS virtualizat…

Why don't you use a virtual machine, if it is just for testing?

You find a lot of tutorials on the web, how to install macOS. It is not much harder than to install Ubuntu.

Re: Virtualize OS X on Linux

#105
post #48

Earlier quoted context omitted.

IIRC, it's even worse than that, the EULA forbids running OSX as a guest OS under a host OS that is not OSX.

I don't think this is correct - the Mac OS X server license said as long as it was running on Xserve hardware you were okay - we run and support macOS VMs on ESXi: https://kb.vmware.com/selfservice/microsites/search.do?langu...

IIRC, Mac OS X server had a different EULA, and there hasn't been a server edition for several releases of OS X anyways.

Re: Virtualize OS X on Linux

#106
post #91

Earlier quoted context omitted.

> Apple is shooting themselves in the foot. How is that exactly? A huge majority of developers in your situation go out and buy a Mac; another hardware purchase in their pocket. This is part of their business strategy: developers are forced to participate, and by and large they do just that. It hurts you far more than it does Apple by refusing to participate. If you believe you're "hurting Apple" by not developing fo…

> Apple wins this battle every time. Welcome to the ecosystem. :) Yes, that's true, but we can also start being sincere about the fact that the whole story is BS. I've been recently assigned a mac by my university (never used one before) and I have to say that the ecosystem is at least unhealthy. Maybe mac users don't really care, but having to install a third party software for common tasks like reverse scrolling, k…

> writing to NTFS

Ever tried to write to HFS+ or to EXT3 from Windows ? Did it work without installing a third party tool ?

> reverse scrolling, keeping the system from going to sleep

You can change the way the scroll works from your Mac Settings, same goes for the power options.

Re: Virtualize OS X on Linux

#107
post #104
post #27

Earlier quoted context omitted.

So I'm one of those developers that got forced into buying a Mac Mini in order to test my software on MacOS. On one hand, you're correct that Apple "won" because I was pushed into spending $500 on their hardware. On the other hand, the parent is very much correct. Candidly, I'm still angry at Apple for making their ecosystem a pain in the ass to work with. Hell, I would have paid good money to buy a MacOS virtualizat…

Why don't you use a virtual machine, if it is just for testing? You find a lot of tutorials on the web, how to install macOS. It is not much harder than to install Ubuntu.

Yeah, sure, it's possible. It's also against their EULA and they could break it (just like Hackintoshing) at any point in time and then bam; half of your customer base is receiving untested software because you no longer have access to your virtualized OSX until you fix it (just like every time an OSX/xcode update is rolled out). Is that worth saving the $500? For most of us, it's not.

Sure you can mitigate it by not doing updates, having a test machine to receive the updates and verify that it still works, yadda yadda.

I managed CI infrastructures for IOS/Android developers a few years ago and the hoops we had to jump through with xcode / EULA-breaking virtualization, etc was something I'd never experienced before. Hopefully it's different now, but we used to have to run farms of mac minis because we couldn't have jenkins/bamboo trigger more than one xcode test/build run at a time. So we'd have these $1500 mac minis sitting around doing ONE job at a time whilst the Android builds could easily do 1-10 things simultaneously.

Everything felt like Apple was fighting our developer experience. It was even worse for our business model as we developed 3rd party applications for other companies which brought it's own headaches with signing, testflight, getting demo/beta apps to clients before release to app store, etc.

Re: Virtualize OS X on Linux

#108

I wish Apple would port their DE/WM to Linux and Free it with a license that says something along the lines of "you can install this if you paid for it". I'd easily pay 100$ for the Apple DE/WM suite sitting over my distro. I guess this is the closest you can get (aside from using Elementary OS).

I'd want the exact opposite (OS X with the ability to run i3 on it). I'm used to i3 (at home and school) and using the default windows/linux shortcuts (like ctrl + x/c/v) and I'm using a Mac at work and I have issues between going back and forth.

Re: Virtualize OS X on Linux

#110
post #91

Earlier quoted context omitted.

> Apple is shooting themselves in the foot. How is that exactly? A huge majority of developers in your situation go out and buy a Mac; another hardware purchase in their pocket. This is part of their business strategy: developers are forced to participate, and by and large they do just that. It hurts you far more than it does Apple by refusing to participate. If you believe you're "hurting Apple" by not developing fo…

> Apple wins this battle every time. Welcome to the ecosystem. :) Yes, that's true, but we can also start being sincere about the fact that the whole story is BS. I've been recently assigned a mac by my university (never used one before) and I have to say that the ecosystem is at least unhealthy. Maybe mac users don't really care, but having to install a third party software for common tasks like reverse scrolling, k…

It is that market of small utilities that puts money in the pockets of developers that care about the desktop experience, and that isn't exclusive of Apple systems.
Post reply on HN