From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOUii-0004kg-7g for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:40:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOUic-0002kP-0s for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:40:12 -0400 Received: from mail-qe0-x22f.google.com ([2607:f8b0:400d:c02::22f]:35090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOUib-0002ij-Sm for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:40:05 -0400 Received: by mail-qe0-f47.google.com with SMTP id b4so3221943qen.20 for ; Tue, 24 Sep 2013 08:40:05 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5241B263.8060105@redhat.com> Date: Tue, 24 Sep 2013 17:40:19 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5241A49A.3080509@redhat.com> In-Reply-To: <5241A49A.3080509@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Stefan Weil , qemu-devel@nongnu.org, Alexander Voropay -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 24/09/2013 16:41, Eric Blake ha scritto: > -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. Yes, QEMU probably was never ported to Cygwin and there is obsolete cruft to add -mno-cygwin. Something like this is needed even if you use the cygwin-to-mingw cross compiler: diff --git a/configure b/configure index 8f27ab3..bab3aa3 100755 - --- a/configure +++ b/configure @@ -344,6 +344,8 @@ elif check_define __sun__ ; then targetos='SunOS' elif check_define __HAIKU__ ; then targetos='Haiku' +elif check_define __MINGW32__ ; then + targetos='MINGW32' else targetos=`uname -s` fi Stefan, can you look at it? Paolo -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSQbJjAAoJEBvWZb6bTYbywi4QAJmIGMhP6UfVgm1x9vDniNDF yOT70Pp+4cOoz7C/y6RkwcGYyPs1Wvh7+AyxhAp8mb1q53gAOZRO52IXVjrk59T6 NSPG9Z8MBUrjT+yUWaUgFqHVZs6jZiULcLKjZ2gccMm/dd2TxYNwmB2LRDGYbj8C jD2o6FFhQ6KS0c5voaTwsHtgWWPmoAII9dF45rYw9KKRb1c+glk29XjkK/D85cq6 O65PSxIP3LD80fO2gZpYezdyyzft9zhe/TFTEjXRUqMvHzQrZtEj7YDAKwvRu4Zk 3hwLU1CObnpJQtKgaBdtPnTrUcESHhqHAc9Cn5wnP2uP+Y/c2BgAmpOsfrBTA23z SBVI6/j6api4HRBmSRTuespScspgH8pbQYMjUQNqjfyx4oVWPlqCpdKF6nGXYMis gmSXAlBKh7eMWQH6PS/717x0SuOi3r4UVHYd9tQt8VCRvTSgcM/EH/l9IEwRRtxI 0Z244C6ghhf9xW+VILP/AGGPgfojwfyMImNc4Ph5UhZ5XVGPoOsl1Cy4X2qnYS8K TX5qg5qZK2MOLx2uW3ni3TtHChCogiVJxJJvC7NS1JOzV3hjSUNb2NDo3etnHnKb vNOsYgVM4AFPnJRCzPiKXLLTBX2lqoz66loFuoyJwCy1fAL7K3danlr89cQCmBmX TwztzxhiE67xdFGhZKaG =LWdG -----END PGP SIGNATURE-----