From: Eric Blake <eblake@redhat.com>
To: Alexander Voropay <alexander.voropay@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed
Date: Tue, 24 Sep 2013 08:41:30 -0600 [thread overview]
Message-ID: <5241A49A.3080509@redhat.com> (raw)
In-Reply-To: <CAGqcPWDsS1EJA62bCkOmvLM6Q8Z=-Tc7YD9FgZ6aD0mPvOKRAA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
On 09/24/2013 07:56 AM, Alexander Voropay wrote:
> Hi!
>
> Can anyone please correct a building qemu-1.6.0 under Cygwin64 ?
>
> ./configure reports non-working "cc" . The gcc is installed and working
>
> $ uname -a
> CYGWIN_NT-6.1 MYWIN-A2 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin
> ^
> cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /tmp/qemu-conf-13609-13632-13899.o /tmp/qemu-conf-18642-13632-950.c
> cc -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -mno-cygwin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -o /tmp/qemu-conf-12270-13632-18502.exe /tmp/qemu-conf-18642-13632-950.c -g -liberty
> cc: error: unrecognized command line option '-mno-cygwin'
-mno-cygwin is an obsolete command line option, formerly used for
cross-compiling from cygwin to mingw. It is NOT used when building for
cygwin, and these days, building for mingw should use a proper cross
compiler (available from cygwin.com) rather than the -mno-cygwin crutch.
To me, this means that there is some cruft in the configure file, and
that no one has ever really tried to port qemu to cygwin yet.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]
next prev parent reply other threads:[~2013-09-24 14:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 13:56 [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed Alexander Voropay
2013-09-24 14:41 ` Eric Blake [this message]
2013-09-24 15:02 ` Alexander Voropay
2013-09-24 15:40 ` Paolo Bonzini
2013-09-25 20:21 ` Stefan Weil
2013-09-25 8:55 ` Alexander Voropay
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=5241A49A.3080509@redhat.com \
--to=eblake@redhat.com \
--cc=alexander.voropay@gmail.com \
--cc=qemu-devel@nongnu.org \
/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).