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

Reply via email to