From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4ABp-0000oi-Ua for qemu-devel@nongnu.org; Wed, 01 Feb 2006 00:05:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4ABo-0000oT-7c for qemu-devel@nongnu.org; Wed, 01 Feb 2006 00:05:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4ABo-0000oQ-3W for qemu-devel@nongnu.org; Wed, 01 Feb 2006 00:05:56 -0500 Received: from [66.133.182.167] (helo=relay04.roc.ny.frontiernet.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F4AAP-00033Q-CH for qemu-devel@nongnu.org; Wed, 01 Feb 2006 00:04:29 -0500 Received: from [10.0.1.4] (67-51-244-221.bras01.mcl.id.frontiernet.net [67.51.244.221]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id D23CB35813D for ; Wed, 1 Feb 2006 05:02:44 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed From: Jeshua Lacock Date: Tue, 31 Jan 2006 22:02:46 -0700 Subject: [Qemu-devel] Qemu on Intel Macs Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Greetings, I am trying to build Qemu on a Intel Mac and after a little bit of work I got it building. It is having trouble with the "mach-o/ppc/reloc.h" file. Someone from Apple says: "Mac OS X's ABI for Intel uses 'generic' relocation entry types, which are defined in . You can see this by running 'otool -arch i386 -rv /path/to/binary', where the binary is universal or Intel-only." The generic entry types are: enum reloc_type_generic { GENERIC_RELOC_VANILLA, /* generic relocation as discribed above */ GENERIC_RELOC_PAIR, /* Only follows a GENRIC_RELOC_SECTDIFF */ GENERIC_RELOC_SECTDIFF, GENERIC_RELOC_PB_LA_PTR, /* prebound lazy pointer */ GENERIC_RELOC_LOCAL_SECTDIFF }; I don't see anything similar to "PPC_RELOC_BR24" . I realize that those are specific to the PPC and "GENERIC_RELOC_VANILLA" will have to be used, although I have no idea how to implement them. The scheme should be pretty similar to the PPC Mach-O port. The other (most likely related) error is: struct relocation_info' has no member named 'r_offset' This is above my understaning, I would be very grateful to pay you for your help. If you are interested I can create an account for you to log into. Any help is appreciated. I would be happy to provide the changes to the Qemu project. Anyone out there feel qualified to help me get this going? Its a bit beyond my ability at this time and I would be happy to compensate for time. Thanks, Jeshua Lacock ___________________________ Programmer/Owner Phone: 877.240.1364 http://OpenOSX.com Fax: 415.462.6211 -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_