From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6KkJ-000696-7a for qemu-devel@nongnu.org; Tue, 19 May 2009 04:32:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6KkE-000684-TI for qemu-devel@nongnu.org; Tue, 19 May 2009 04:32:22 -0400 Received: from [199.232.76.173] (port=35302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6KkE-00067z-Mj for qemu-devel@nongnu.org; Tue, 19 May 2009 04:32:18 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:64726) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6KkE-00026e-59 for qemu-devel@nongnu.org; Tue, 19 May 2009 04:32:18 -0400 Message-ID: <4A126E8D.3050306@mail.berlios.de> Date: Tue, 19 May 2009 10:32:13 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Native Port of QEMU to Haiku References: <7861078417-BeMail@haiku> In-Reply-To: <7861078417-BeMail@haiku> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Lotz Cc: qemu-devel@nongnu.org Michael Lotz schrieb: > Hi there > > I'm one of the developers that work on the Haiku OS and have also been > maintaining the BeOS/Haiku port of QEMU for the last couple of years. > Due to BeOS being locked into GCC 2.95.3 and our commitment to provide > binary compatibility with BeOS R5 in the first Haiku release, getting > this port to work and maintaining it has been a lot of work and largely > just a hack. > > Haiku however also has a native GCC 4.3.3 toolchain since some time and > I brought the QEMU port up to date using it. Since QEMU is pure C, it > was possible to mix the Haiku display part and audio backend compiled > with GCC 2.95.3 with a GCC 4.3.3 compiled QEMU core (this doesn't > require any code changes and will simply continue to work once we > migrate fully to GCC 4). This made it possible to do a much cleaner > port that I think could now also be commited into the QEMU repository. > > Since BeOS is not going anywhere and since it is stuck with the old > GCC, I've removed all the leftovers from the original BeOS port so the > final patch simply adds native Haiku support to QEMU. > > The patch linked below is against the 0.10.4 release sources including > kqemu in a kqemu subdirectory. Please advice if you would be willing to > include this work into your repository. If necessary I can split this > up into multiple patches providing more detailed info on the different > parts or diff it against more current sources. Please just let me know. > > http://haiku.mlotz.ch/qemu-0.10.4-haiku.diff > > Regards > Michael > > > Hi, it should be possible to get standard integral types like int32_t from stdint.h, so special code for Haiku in fpu/softfloat.h or kqemu/kqemu-haiku.c can be removed. Regards Stefan