qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: qemu-devel@nongnu.org, Juan Quintela <quintela@trasno.org>
Subject: [Qemu-devel] Re: [PATCHv2] configure: verify stdio.h
Date: Wed, 27 Jan 2010 21:12:43 +0200	[thread overview]
Message-ID: <20100127191242.GA18523@redhat.com> (raw)
In-Reply-To: <4B608DC2.4040806@mail.berlios.de>

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.

  reply	other threads:[~2010-01-27 19:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-26 16:01 [Qemu-devel] [PATCHv2] configure: verify stdio.h Michael S. Tsirkin
2010-01-26 18:12 ` [Qemu-devel] " Måns Rullgård
2010-01-26 19:31   ` Blue Swirl
2010-01-26 21:44 ` Stefan Weil
2010-01-27  9:13   ` Michael S. Tsirkin
2010-01-27 19:02     ` Stefan Weil
2010-01-27 19:12       ` Michael S. Tsirkin [this message]
2010-01-27 21:48         ` Måns Rullgård
2010-01-28 17:48       ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100127191242.GA18523@redhat.com \
    --to=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@trasno.org \
    --cc=weil@mail.berlios.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).