From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gea2m-0007pK-Aq for qemu-devel@nongnu.org; Mon, 30 Oct 2006 11:31:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gea2j-0007nS-2u for qemu-devel@nongnu.org; Mon, 30 Oct 2006 11:31:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gea2i-0007nN-U6 for qemu-devel@nongnu.org; Mon, 30 Oct 2006 11:31:20 -0500 Received: from [71.162.243.5] (helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gea2i-0007mx-Th for qemu-devel@nongnu.org; Mon, 30 Oct 2006 11:31:21 -0500 From: Rob Landley Subject: Re: [Qemu-devel] qemu vs gcc4 Date: Mon, 30 Oct 2006 11:31:04 -0500 References: <45391B22.1050608@palmsource.com> <200610292335.54893.rob@landley.net> <200610301456.07847.paul@codesourcery.com> In-Reply-To: <200610301456.07847.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610301131.05721.rob@landley.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Monday 30 October 2006 9:56 am, Paul Brook wrote: > On Monday 30 October 2006 04:35, Rob Landley wrote: > > On Monday 23 October 2006 1:58 pm, Paul Brook wrote: > > > > Although, all told, it would seem to me that what might be called for > > > > here is a new gcc target. A gcc target specifically for generating > > > > qemu code. That would just simply generate whatever qemu wanted for > > > > function postamble. > > > > > > Better to just teach qemu how to generate code. > > > In fact I've already done most of the infrastructure (and a fair amount > > > of the legwork) for this. The only major missing function is code to do > > > softmmu load/store ops. > > > https://nowt.dyndns.org/ > > > > So given that one of the reasons for doing this would be getting away from > > depending on specific and increasily out of date versions of gcc to build > > the thing, what would be involved in getting this version to build under > > gcc-4.x? > > Should work pretty much out the box. Obviously if you build anything other > than m68k then all bets are off. It didn't get to "work", it broke building. (The frighting part is that my patch at http://busybox.net/downloads/qemu applied to your version without rejects, but although that helped it get farther, it didn't finish.) I just did a standard "./configure --shutupaboutthecompilerversion; make; make install". (x86 is the first target I'm interested in, as it's the easiest to test and you said it's using at least some of the new code...) > Paul Rob -- "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away." - Antoine de Saint-Exupery