2 ms·
Because they probably have Linux syscall numbers in their examples and those won’t work on macOS.
by saagarjha 4y ago
Because they probably have Linux syscall numbers in their examples and those won’t work on macOS.
- ryao 4y agohttps://www.qemu.org/docs/master/user/main.html#linux-user-space-emulator https://www.qemu.org/docs/master/user/main.html#linux-user-s... QEMU can fix that.
- pm215 4y agoNo, it can't -- QEMU's usermode emulator translates Linux-to-Linux only, it does not let you run Linux binaries on macos. And since it's an emulator it's arguably taking you even further from the bare metal than running a VM, which (assuming hypervisor.framework or equivalent) is at least executing the guest instructions directly on the real CPU.