Live data from Hacker News

Virtualize OS X on Linux

grodola.blogspot.com

111–120 of 143 posts

Re: Virtualize OS X on Linux

#112
post #80
post #67

Earlier quoted context omitted.

I haven't tried in awhile, but is the best option just to use VC directly at this point?

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…

Actually Fortran works best if you combine Visual Studio with Intel Fortran compiler. You can freely call C from Fortran and viceversa, furthermore Intel's versions of BLAS and LAPACK are seriously faster than the reference BLAS and LAPACK you will build yourself on Windows.

It is also possible to link gfortran compiled dll's with C and C++ in Visual Studio. A few years ago I even called a gfortran dll from C# using p-invoke with no particular problem.

Re: Virtualize OS X on Linux

#113
post #98

One thing which always bugs me about OSX vms is there is still no way of running OpenGL or Metal applications on them. Not even qemu-system-ppc emulates a suitable GPU, even though there are a bunch of emulators for 7th-generation game consoles which have come quite far in emulating gpus with similar style architectures which could probably be adapted.

> One thing which always bugs me about OSX vms is there is still no way of running OpenGL or Metal applications on them

This is more or less true for most virtualization solutions (with the exception of KVM on Linux where apparently you can use your video card from the VM). For example VirtualBox emulates OpenGL 2 and DirectX 9 for Windows guests. Vmware is a bit better and it can emulate OpenGL 3, didn't checked if this works with a macOS guest ...

Re: Virtualize OS X on Linux

#114
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…

open a command line and type "caff". comes built in.

Re: Virtualize OS X on Linux

#115
post #72

Earlier quoted context omitted.

In context of the discussion, we seem to be talking about personal computers, not hand-held devices, and my comment reflects that.

A tablet with a physical keyboard is a personal computer.

Nor does it run OSX.

Re: Virtualize OS X on Linux

#116
post #11

Earlier quoted context omitted.

> uses them on a Mac OS host - so no kext hacks needed like if you were building a Hackintosh why would the host be relevant at all

VirtualBox and VMware don't "support" virtualisation of OS X on non-OS X platforms. You either have to hack your VM, or the guest installer.

Sorry, but I can choose "Mac OS X" right from the "machine type" (It then lists a number of OS X versions from Snow Leopard up to El Capitan) when creating a new machine on VirtualBox 5.x on Linux, and I'm fairly sure it was the same on 4.x too. How is this "unsupported"? Don't know about VMware though.

Edit: I must add that there are no Guest Additions available for OS X, so if you go on and create the machine, it won't be able to benefit from decent graphics integration, shared clipboard, drag & drop support - but this is IMHO far from OS X not being supported.

Re: Virtualize OS X on Linux

#117
post #91

Earlier quoted context omitted.

> 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.

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

It only works for a single device. So if you want to keep natural scrolling on the trackpad and use regular scrolling on a external mouse, you can't. For some reasons the two checkboxes for this (even under different panes) are linked.

https://pilotmoon.com/scrollreverser/

Re: Virtualize OS X on Linux

#119
post #22

Earlier quoted context omitted.

"hack" is a bit strong. You can install MacOS on current virtual box on Windows with only a text file modification. The issue is that the MacOS license only grants permission to use it in VMs on Apple hardware.

Can a vanilla OS X DMG / ISO be installed with this text file modification? (last time I looked, you had to replace one of VirtualBox's DLLs on Windows, for example)

Yes (though I misspoke - it's changing VirtualBox settings, rather than text file mod)

http://www.insanelymac.com/forum/topic/309654-run-vanilla-os...

Starts with an installer from the Mac App Store to make an install DVD, or a physical Snow Leopard DVD, no DLL replacement or kernel modifications.

Re: Virtualize OS X on Linux

#120
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…

Reverse scrolling? It's an option on the touchpad / mouse settings to scroll naturally/unnaturally isn't it?

Going to sleep - it's under power options in Settings.

Also writing to NTFS is not a problem they care about. When's the last time you wrote to ext4 or HFS+ on Windows natively without extra tools?

It's exactly the same here - they support HFS, HFS+ and FAT32 and VFAT. Windows supports NTFS and FAT32 and VFAT. Do we get upset with Microsoft because they don't support HFS+?

Post reply on HN