Received: from eggs.gnu.org ([2001:4830:134:3::10]:56279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6IQ1-0005N6-HN for qemu-devel@nongnu.org; Fri, 27 May 2016 10:07:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6IPu-0004n2-9E for qemu-devel@nongnu.org; Fri, 27 May 2016 10:07:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6IPu-0004mv-36 for qemu-devel@nongnu.org; Fri, 27 May 2016 10:07:10 -0400 References: <1464343604-517-1-git-send-email-pbonzini@redhat.com> <20160527133858.GR1683@redhat.com> From: Paolo Bonzini Message-ID: <3326a022-e8c8-4307-f442-5a852042cb98@redhat.com> Date: Fri, 27 May 2016 16:07:06 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 00/31] Misc changes for 2016-05-27 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , "Richard W.M. Jones" Cc: QEMU Developers , =?UTF-8?Q?Marc_Mar=c3=ad?= On 27/05/2016 16:04, Peter Maydell wrote: > > > i686-w64-mingw32-ld -m i386pe -Ttext 0 -e _start -s -o > > > linuxboot_dma.img linuxboot_dma.o > > > linuxboot_dma.o:linuxboot_dma.c:(.text+0x57): undefined reference to > > > `load_kernel' > > > > > > Building an image for the target using our host compiler seems like > > > an odd choice, > > > > Which compiler should I be using? > > I would have expected that how we build a guest image ought to > be the same regardless of how we're building QEMU itself. > (You wouldn't try to build an i386 image with $(CC) if you're > on an ARM host, for instance.) > However, given that the makefile already works this way, better > to go with the flow... Yeah, however currently the ROMs are only built if you are not doing a cross build. Thanks, Paolo