Brew For Macos Catalina



苹果公司在今天(2019.10.08)凌晨正式推送了 macOS Catalina(10.15)更新 ,新系统将诞生了18年的 iTune. Make (when installed through brew, make is installed as gmake, so use gmake) After downloading the QEMU source code, double-click it to expand it. Then configure and make QEMU. The target-list option is used to build only the machine or machines you want. If you don't specify it, all machines would be built. Probably not what you want.

Brew
  • 1Notes

Some system emulations on Linux use KVM, a special emulation mode which claims to reach nearly native speed.KVM is mainly used for x86 (32 and 64 bit) emulation on x86 hosts running Linux. Should you want to run Qemu with KVM support on a G5, depending on your distribution, you might have to compile your own kernel with KVM support.

If your host's (your computer) architecture matches the guest's (QEMU) architecture and is running Mac OS 10.10 or higher, then you could speed up execution to near native speed using this option: -accel hvf

Installing QEMU using a package manager


Building QEMU for macOS

The system requirements are:

How To Install Brew On Catalina

  • One of the two most recent versions of macOS (currently Catalina or Big Sur)
  • The clang compiler shipped with the version of Xcode for that OS X. GCC might also work, but we recommend clang
Brew For Macos Catalina

Additional build requirements are:

Brew For Macos Catalina

make (when installed through brew, make is installed as gmake, so use gmake)

Brew For Macos Catalina 10.15

After downloading the QEMU source code, double-click it to expand it.

Then configure and make QEMU. The target-list option is used to build only the machine or machines you want. If you don't specify it, all machines would be built. Probably not what you want.

This way doesn't require you to wait for the configure command to complete:

If your system has the 'say' command, you can use it to tell you when QEMU is done

You can use './configure --help' to see a full list of options.

Here are all the currently available machines:

  • aarch64-softmmu
  • alpha-softmmu
  • arm-softmmu
  • cris-softmmu
  • i386-softmmu
  • lm32-softmmu
  • m68k-softmmu
  • microblaze-softmmu
  • microblazeel-softmmu
  • mips-softmmu
  • mips64-softmmu
  • mips64el-softmmu
  • mipsel-softmmu
  • moxie-softmmu
  • or32-softmmu
  • ppc-softmmu
  • ppc64-softmmu
  • ppcemb-softmmu
  • s390x-softmmu
  • sh4-softmmu
  • sh4eb-softmmu
  • sparc-softmmu
  • sparc64-softmmu
  • tricore-softmmu
  • unicore32-softmmu
  • x86_64-softmmu
  • xtensa-softmmu
  • xtensaeb-softmmu


We recommend building QEMU with the -default compiler provided by Apple, for your version of Mac OS X (which will be 'clang'). The configure script will automatically pick this.

Errors on old compilers

Brew For Macos Catalina Dmg

Note: If after the configure step you see a message like this:

you may have to install your own version of gcc. 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 can have several versions of GCC on your system. To specify a certain version, use the --cc and --cxx options.

Build with LLVM/Clang 7

If you need to compile with newer versions of clang (to get f.i. AVX/AVX2 support), you can install llvm through e.g., brew.

How To Install Brew On Mac Catalina

Note that building for machines with CPUs supporting such extensions will exclude running your binary on earlier machines.

Compile with:

Contacts

If there are any issues with this web page, please let me know.

How To Install Homebrew On Macos Catalina

Retrieved from 'https://wiki.qemu.org/index.php?title=Hosts/Mac&oldid=10238'