The following is another patch against the head that lets me build it on Windows, as well as makes the adlib.c file debuggable.
Index: Makefile =================================================================== RCS file: /sources/qemu/qemu/Makefile,v retrieving revision 1.136 diff -r1.136 Makefile 17a18,20 > ifdef CONFIG_WIN32 > LIBS= -lmingw32 -mno-cygwin > else 18a22 > endif Index: cocoa.m =================================================================== RCS file: /sources/qemu/qemu/cocoa.m,v retrieving revision 1.14 diff -r1.14 cocoa.m 754c754 < [op beginSheetForDirectory:nil file:nil types:[NSArray arrayWithObjects:@"img",@"iso",@"dmg",@"qcow",@"cow",@"cloop",@"vmdk",nil] --- > [op beginSheetForDirectory:nil file:nil types:[NSArray > arrayWithObjects:@"img",@"iso",@"dmg",@"qcow",@"qcow2",@"cow",@"cloop",@"vmdk",nil] Index: monitor.c =================================================================== RCS file: /sources/qemu/qemu/monitor.c,v retrieving revision 1.87 diff -r1.87 monitor.c 31a32 > #include "qemu-timer.h" Index: hw/adlib.c =================================================================== RCS file: /sources/qemu/qemu/hw/adlib.c,v retrieving revision 1.8 diff -r1.8 adlib.c 25a26 > #include "audio/audio.h" 26a28 > #include "qemu-timer.h"