From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOzMv-0002g3-EN for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:33:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOzMq-0002QI-4L for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:33:20 -0400 Received: from [199.232.76.173] (port=47700 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOzMp-0002Pi-So for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:33:15 -0400 Received: from mail-ew0-f207.google.com ([209.85.219.207]:63357) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOzMp-0001aH-DQ for qemu-devel@nongnu.org; Thu, 09 Jul 2009 15:33:15 -0400 Received: by ewy3 with SMTP id 3so433091ewy.34 for ; Thu, 09 Jul 2009 12:33:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <200907091808.06764.paul@codesourcery.com> References: <4A559842.7000404@web.de> <200907091719.44828.paul@codesourcery.com> <4A5621DC.2020107@codemonkey.ws> <200907091808.06764.paul@codesourcery.com> Date: Thu, 9 Jul 2009 21:33:14 +0200 Message-ID: <5b31733c0907091233s253dbb68l8e56e9d4900c49ef@mail.gmail.com> Subject: Re: [Qemu-devel] Re: [PATCH] Drop roms from standard build From: Filip Navara Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Anthony Liguori , Jan Kiszka , qemu-devel@nongnu.org, Alexander Graf On Thu, Jul 9, 2009 at 7:08 PM, Paul Brook wrote: >> > I think the chances of the user having appropriate toolchains readily >> > available (without significant additional per-rom configury) are >> > extremely slim. >> >> Actually, for x86, all of our ROMs will just use GCC so when building >> x86 on x86, it's very likely the right tool chain is available. > > Except when it isn't, for example when building with a windows binary. > Also, x86 is only one of many targets qemu supports. If you're serious about > rebuilding roms as standard, then at bare minimum you need to handle sparc and > ppc as well as x86. > > Paul Actually windows binaries of MinGW can built this just fine, you just have to link it to the native platform format (PE-COFF) and then objcopy it to binary. The rest should work just like on Linux. I'm building the BIOS from time to time on MinGW and while it is annoying to modify the build files to work for MinGW I'd be happy to maintain it for QEMU. Best regards, Filip Navara