From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbx5L-0007Rz-H4 for qemu-devel@nongnu.org; Tue, 15 Sep 2015 16:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbx5G-0000PX-Eo for qemu-devel@nongnu.org; Tue, 15 Sep 2015 16:44:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbx5G-0000PT-9q for qemu-devel@nongnu.org; Tue, 15 Sep 2015 16:44:10 -0400 References: <55F87B36.6040907@weilnetz.de> From: Eric Blake Message-ID: <55F88314.8030604@redhat.com> Date: Tue, 15 Sep 2015 14:44:04 -0600 MIME-Version: 1.0 In-Reply-To: <55F87B36.6040907@weilnetz.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4URcui3ca7weDCK3IjEt5p5fhcpPa8C4A" Subject: Re: [Qemu-devel] Compiling Qemu from Cygwin List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , Mike Ladouceur Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4URcui3ca7weDCK3IjEt5p5fhcpPa8C4A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/15/2015 02:10 PM, Stefan Weil wrote: >> >> CC qga/commands-win32.o >>> qga/commands-win32.c: In function =E2=80=98qmp_guest_set_user_passwor= d=E2=80=99: >>> qga/commands-win32.c:1254:55: warning: passing argument 2 of >>> =E2=80=98g_base64_decode=E2=80=99 from incompatible pointer type >>> rawpasswddata =3D (char *)g_base64_decode(password, &rawpasswdle= n); >>> ^ Ugh. Compiling for cygwin should favor POSIX interfaces, not commands-win32. The build is failing because it isn't even correctly deciding which files it should be compiling. > compiling with cygwin is unsupported. I suggest using MinGW-w64 > (which also works for cross compilations under Linux). Remember, cygwin is itself an emulation layer - you are emulating POSIX interfaces on top of Windows; which, while making the environment easier to port to, also makes the environment slower. qemu targets mingw and not cygwin because qemu is an emulator and already slow enough, without needing another layer of emulation thrown in the mix. That said, if you want to port qemu to cygwin and supply patches, I'm more than willing to help review them. It's just that right now, it's not my personal itch to write such patches, and that the qemu community currently favors mingw rather than cygwin. Also, cygwin comes with cross-compilers, so you can still use your cygwin setup to compile qemu for mingw (although doing the cross-compile on a true Linux box will be faster). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4URcui3ca7weDCK3IjEt5p5fhcpPa8C4A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJV+IMVAAoJEKeha0olJ0NqTooH/3vVwgxX5iWDA61OHZ80MpTx Gonh9tFUX2ceyPDEn/fw0vmf63FLqtY/mcOSBHNjYY8oq0uNAUCF/u94/iBBMPYH x5ylFd+st1IjYdK32NIYzv/EBaSgVSA8ZCyf4RyLq1+8/RmnqDvOg8P6/CmbcBGn gtEwMC8VX0G0HHieIJAGrntVilNkbQG2VzRJS/OgnmXOO3AmFE6Gi8OmtqHfDExX ACVIVODDb9l7OcqvQO0ss/J3i0kd5dLDczmx471eusfX4UTy8g2LQIynP3foSf3U LKEcfBkESMoHnHlhzPYbRGZUzz7WNQnntPowo5QQHjAXZBRLyVj/yMPLiSeAC3Q= =NafE -----END PGP SIGNATURE----- --4URcui3ca7weDCK3IjEt5p5fhcpPa8C4A--