

In order to enable the QEMU driver, you need to do:

The Intel side of things will now support a QEMU driver, but is not enabled by default. This is a Universal package that supports both Arm and Intel Macs. If there are any issues with this web page, please let me know.We’ve dropped the first Release Candidate for Apple M1 support.

extra-ldflags="-L/usr/local/opt/llvm/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib" \ extra-cxxflags="-I/usr/local/opt/llvm/include" \ configure -cc=clang-7 -cxx=clang++-7 -host-cc=clang-7 \ Note that building for machines with CPUs supporting such extensions will exclude running your binary on earlier machines.Įxport PATH="/usr/local/opt/llvm/bin:$PATH" AVX/AVX2 support), you can install llvm through e.g., brew. If you need to compile with newer versions of clang (to get f.i. To specify a certain version, use the -cc and -cxx options. You can have several versions of GCC on your system. You can build it from source (expect that to take several hours) or obtain third party binaries of gcc available from Homebrew or MacPorts. You may have to install your own version of gcc. Note: If after the configure step you see a message like this:ĮRROR: Your compiler does not support the _thread specifier for The configure script will automatically pick this. We recommend building QEMU with the default compiler provided by Apple, for your version of Mac OS X (which will be 'clang'). You can use './configure -help' to see a full list of options. configure -target-list=i386-softmmu,ppc-softmmu & make say "I'm all done compiling QEMU" If your system has the 'say' command, you can use it to tell you when QEMU is done This way doesn't require you to wait for the configure command to complete: If you don't specify it, all machines would be built. The target-list option is used to build only the machine or machines you want. Make (when installed through brew, make is installed as gmake, so use gmake)Īfter downloading the QEMU source code, double-click it to expand it. GCC might also work, but we recommend clang

Some system emulations on Linux use KVM, a special emulation mode which claims to reach nearly native speed.
