From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6INX-0002qh-Ix for qemu-devel@nongnu.org; Fri, 27 May 2016 10:04:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6INU-0003yn-7V for qemu-devel@nongnu.org; Fri, 27 May 2016 10:04:42 -0400 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:34563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6INU-0003yG-3k for qemu-devel@nongnu.org; Fri, 27 May 2016 10:04:40 -0400 Received: by mail-vk0-x229.google.com with SMTP id c189so144479552vkb.1 for ; Fri, 27 May 2016 07:04:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160527133858.GR1683@redhat.com> References: <1464343604-517-1-git-send-email-pbonzini@redhat.com> <20160527133858.GR1683@redhat.com> From: Peter Maydell Date: Fri, 27 May 2016 15:04:20 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 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: "Richard W.M. Jones" Cc: Paolo Bonzini , QEMU Developers , =?UTF-8?Q?Marc_Mar=C3=AD?= On 27 May 2016 at 14:38, Richard W.M. Jones wrote: > On Fri, May 27, 2016 at 02:04:52PM +0100, Peter Maydell wrote: >> With V=1: >> >> 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... thanks -- PMM