[Qemu-devel] Re: Build failure on mingw

2009-11-17 Thread Sebastian Herbszt
malc wrote: Makefile has this: sdl.o audio/sdlaudio.o sdl_zoom.o baum.o: QEMU_CFLAGS += $(SDL_CFLAGS) Which, i guess, doesn't play well with expansion of $@ in rules.mak. I wonder what changes you will see by adding following to the rules.mak. QEMU_CFLAGS := $(QEMU_CFLAGS) -MMD -MP -MT $@ $

[Qemu-devel] Re: Build failure on mingw

2009-11-16 Thread malc
On Mon, 16 Nov 2009, Sebastian Herbszt wrote: > malc wrote: > > On Sat, 14 Nov 2009, Sebastian Herbszt wrote: [..snip..] > > > > Neither is/was correct, does escaping $@ in rules make (i.e. \$@) have > > any effect? > > Changing it to \$@ makes it compile again: > > $ grep MMD rules.mak

[Qemu-devel] Re: Build failure on mingw

2009-11-16 Thread Sebastian Herbszt
malc wrote: On Sat, 14 Nov 2009, Sebastian Herbszt wrote: v0.11.0-rc0-1630-g51cc2e7 fails to build on mingw with gcc version 3.4.5 (mingw32 special) and GNU Make version 3.79.1. gcc -I/home/sh/vm/qemu/v0.11.0-rc0-1630-g51cc2e7/slirp -Wold-style-definition -I. -I/home/sh/vm/qemu/v0.11.0-rc0-163