qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed


From: Paolo Bonzini
Subject: Re: [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed
Date: Tue, 24 Sep 2013 17:40:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

-----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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]