qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] get qemu to compile as 64-bit on Mac


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH] get qemu to compile as 64-bit on Mac
Date: Tue, 3 Jun 2008 09:51:07 +0200

Hi,

Am 02.06.2008 um 23:25 schrieb C.W. Betts:

This patch makes it so that you can compile qemu on Mac OS X Leopard as a 64-bit app. This is heavily based on an earlier patch that had the same goal.

Could you clarify that? I assume you mean Alexander Graf's patch - I remember it being split in multiple parts and being much larger. Is the reduction due to TCG? Or what's the difference?

Hint: in order to build qemu on another architecture, you have to modify the config-host.mak and the config-host.h file. You have to set the ARCH_CFLAGS and ARCH_LDFLAGS in the .mak file to match the architecture that you want to build("-m32 -arch ppc" for PowerPC, "- m64 -arch x86_64" for 64-bit Intel, etc…), as well as the ARCH flag. In the header file, change the HOST_PPC or HOST_I386 to the processor you want to build on.

The -m32/-m64 should be redundant there, no? At least -arch ppc64 is always 64-bit.

Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]