From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaDMu-0005Kl-Vk for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:16:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaDMq-0005I8-3m for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:16:00 -0500 Received: from [199.232.76.173] (port=53713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaDMq-0005I2-0C for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:15:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18587) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaDMp-0002T4-4g for qemu-devel@nongnu.org; Wed, 27 Jan 2010 14:15:55 -0500 Date: Wed, 27 Jan 2010 21:12:43 +0200 From: "Michael S. Tsirkin" Message-ID: <20100127191242.GA18523@redhat.com> References: <20100126160147.GA3460@redhat.com> <4B5F624C.7060402@mail.berlios.de> <20100127091342.GB3476@redhat.com> <4B608DC2.4040806@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B608DC2.4040806@mail.berlios.de> Subject: [Qemu-devel] Re: [PATCHv2] configure: verify stdio.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-devel@nongnu.org, Juan Quintela On Wed, Jan 27, 2010 at 08:02:26PM +0100, Stefan Weil wrote: > 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). Heh, configure script runs the program it's built in a couple of places. This probably does not work for cross-builds: if compile_prog "" "" ; then $TMPE && bigendian="yes" else echo big/little test failed fi likely works by luck for build to intel, because error is interpreted as little-endian. > > > >> 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.