From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOTo2-0003xK-Np for qemu-devel@nongnu.org; Tue, 24 Sep 2013 10:41:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOTnx-0001Db-Rz for qemu-devel@nongnu.org; Tue, 24 Sep 2013 10:41:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOTnx-0001DM-Jz for qemu-devel@nongnu.org; Tue, 24 Sep 2013 10:41:33 -0400 Message-ID: <5241A49A.3080509@redhat.com> Date: Tue, 24 Sep 2013 08:41:30 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HFLfT28WjM6k2a3nt4cJfhfkdD6KVwTJk" 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: Alexander Voropay Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HFLfT28WjM6k2a3nt4cJfhfkdD6KVwTJk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/24/2013 07:56 AM, Alexander Voropay wrote: > Hi! >=20 > Can anyone please correct a building qemu-1.6.0 under Cygwin64 ? >=20 > ./configure reports non-working "cc" . The gcc is installed and working= >=20 > $ 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=3D64 -D_LARGEFILE_SOURCE -Wstrict-= prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prot= otypes -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=3D1 -DWIN32_LEAN_AND_MEAN -DWINVER=3D0x501 = -mno-cygwin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -W= strict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissi= ng-prototypes -fno-strict-aliasing -o /tmp/qemu-conf-12270-13632-18502.ex= e /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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HFLfT28WjM6k2a3nt4cJfhfkdD6KVwTJk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSQaSaAAoJEKeha0olJ0NqMwQIAKF2vOknp33CeQIXmqQMId0u fvSN1aCx57qgYhIn+KXD1HAjiQ2LW7EPqLONOYsGU7T0/1Pky8nii6H1VwCjK0vj 7xnBM3lmP19Rrv7EUoW53X3cSsqZSolfkRu2i64DSNrTtNOwiBlSZGtvESWr4vyX ygf3BRQ0kGoV6PFcA250D8we9flcMWaEXtU1zVgE2XI8nIlX9C9c6EF/SgaXkWIr cYqXcYyJE8eTPS7G19AIK9XvvZb4K3HogJxAAKeuD7S8kmjuqUcwnixUhaGHe5Xa bEYna933ea7R+hc0yw7TgzEK+QILJKVQnLCb8B2DqRmlq+IBHV7oZ5zZsYG20hk= =QUeA -----END PGP SIGNATURE----- --HFLfT28WjM6k2a3nt4cJfhfkdD6KVwTJk--