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: Eric Blake
Subject: Re: [Qemu-devel] qemu-1.6.0 under Cygwin64 ./configure failed
Date: Tue, 24 Sep 2013 08:41:30 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

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: signature.asc
Description: OpenPGP digital signature


reply via email to

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