Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A81GY-0004Zk-IE for qemu-devel@nongnu.org; Fri, 10 Oct 2003 13:41:26 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A81G2-0004Jk-FL for qemu-devel@nongnu.org; Fri, 10 Oct 2003 13:41:25 -0400 Received: from [212.16.62.51] (helo=mail.13thfloor.at) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A81G1-0004Go-7i for qemu-devel@nongnu.org; Fri, 10 Oct 2003 13:40:53 -0400 Date: Fri, 10 Oct 2003 19:40:42 +0200 From: Herbert Poetzl Subject: Re: [Qemu-devel] Now for the complicated part of the OS X port... Message-ID: <20031010174042.GA30984@DUK2.13thfloor.at> References: <61775.67.168.46.137.1065522597.squirrel@mail.apvio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61775.67.168.46.137.1065522597.squirrel@mail.apvio.net> Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu@raylucke.com Cc: qemu-devel@nongnu.org On Tue, Oct 07, 2003 at 03:29:57AM -0700, qemu@raylucke.com wrote: > I am able to get every file, including vm86.o, op-i386.o, helper-i386.o, > etc. to compile (after quite a few code mods that disable certain > functionality) except the syscall.c file, but that's because it is made > specifically for Linux, and Darwin will need it's own, which is a job in > itself. The other files that don't compile are those that include the > dyngen-generated includes. > > I am wondering if anyone on this list knows much about the Mach-O file > format, and would possibly consider writing a dyngen program that will > generate the appropriate headers so this thing will compile the rest the > way. > > If not, Fabrice, do you have any pointers of where I can get a crash > course on writing a dyngen program for Mach-O files so I can let it > process Darwin's applicable files? > > Mainly my objective at this point is to familiarize myself with the code, > make it all compile, then actually reimplement my changes in a way that > can be integrated into the main branch. So if anyone wonders about the > number of commented out items, such as the get_long_only function in vl, > it's because OS X doesn't have a version of that. > > I have put up an updated tarball on my site: > http://www.raylucke.com/20010926/software/qemu/ have a look at http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachORuntime/MachORuntime.pdf HTH, Herbert > Regards, > > Ray > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://mail.nongnu.org/mailman/listinfo/qemu-devel