Michael S. Tsirkin schrieb: > On Tue, Jan 26, 2010 at 10:44:44PM +0100, Stefan Weil wrote: >> Michael S. Tsirkin schrieb: >>> Verify that stdio.h supports %lld %zd. >>> Some migw variants don't unless requested explicitly (see >> migw -> mingw >> >> I don't know any ming32 variant which supports %lld, %zd. >> There is a new mingw-w64 were people are addressing the >> problem, > > Did you try with -D__USE_MINGW_ANSI_STDIO=1 ? > This is what the link below mentions.
New information on this issue: mingw-runtime 3.15 (2008-09-07) added support for standard format conversion: http://sourceforge.net/project/shownotes.php?release_id=24832 The release note also says how to select MS or C99/POSIX format strings. Debian still does not include that version: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498529 Maybe someone knows how we can help to get the new release for debian. It's needed for cross compilation (at least for users who don't want to install it manually). > >> but that variant is unsupported by qemu. > > What are the issues? > Good question. I don't know because I did not try it. It was only a guess that qemu would not work with mingw-w64 without modifications.