From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AHYAd-0008IS-C7 for qemu-devel@nongnu.org; Wed, 05 Nov 2003 19:38:43 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AHYA4-0008AQ-RG for qemu-devel@nongnu.org; Wed, 05 Nov 2003 19:38:39 -0500 Received: from [66.199.135.5] (helo=ms0.sea.apvio.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1AHYA2-00086G-De for qemu-devel@nongnu.org; Wed, 05 Nov 2003 19:38:06 -0500 Message-ID: <15251.67.40.18.253.1068079078.squirrel@mail.apvio.net> Date: Wed, 5 Nov 2003 16:37:58 -0800 (PST) From: "Raymond W. Lucke IV" MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Subject: [Qemu-devel] A few modifications that make Qemu come closer to compiling on Darwin. Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I have added these lines to the config-host.h which has made it so a number of files compile on Mac OS X (Darwin). I commented this out: // #define HAVE_BYTESWAP_H 1 and I added these: #define MAP_ANONYMOUS MAP_ANON #define MAP_DENYWRITE 0 // Not sure what this could be set to... #define ELIBBAD ESHLIBVERS extern char **environ; The above, of course, is dirty but I figure posting it here can make known what is and what is not available in Darwin, which can possibly allow Fabrice to add the appropriate checks to the configure script. I figure if little changes here and there that make Qemu more friendly to other plaforms make it into the main branch, one of these days, it will compile out of the box. ;-) Regards, Ray