From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu6Oy-00028d-Cv for Qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:15:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu6Os-0005vT-9t for Qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:15:00 -0500 Received: from mail-r83.rz.uni-mannheim.de ([134.155.96.83]:43759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu6Os-0005vN-2c for Qemu-devel@nongnu.org; Thu, 27 Nov 2014 16:14:54 -0500 Message-ID: <5477944B.1000901@weilnetz.de> Date: Thu, 27 Nov 2014 22:14:51 +0100 From: Stefan Weil MIME-Version: 1.0 References: <93259ECD-066A-413E-B647-2BB240DBF7EC@livius.net> <2E7B730D-C409-4800-9BEC-8E302812C7E8@livius.net> <54778506.5060200@weilnetz.de> <5B49B4C2-D8A6-40A9-A3F8-EFD0865AC3C3@livius.net> In-Reply-To: <5B49B4C2-D8A6-40A9-A3F8-EFD0865AC3C3@livius.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] MinGW build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liviu Ionescu Cc: Peter Maydell , QEMU Developers Am 27.11.2014 um 21:52 schrieb Liviu Ionescu: >=20 > On 27 Nov 2014, at 22:09, Stefan Weil wrote: >=20 >> ... use Mingw-w64. It compiles QEMU ... >=20 > one of my requirements for a Windows version of QEMU is to be staticall= y linked, and do not depend on third party libraries that are not present= in a common Windows installation. Do you really need statically linked executables (they might need a lot of disk space if you install all of them), or is it sufficient to distribute all third party libraries which are needed to run QEMU together with the executables (as I do it with my installers for Windows on http://qemu.weilnetz.de/)? Even with a statically linked executable, you won't get a one-file-distribution because QEMU needs a lot of additional files during runtime (keyboard maps, firmware images, ...). >=20 > do you have a build procedure with Mingw-w64 that creates a static prog= ram? what libraries are needed, where do you get them or how do you build= them as static libraries? Up to now, I never have build a static QEMU executable for Windows, so I simply don't know which problems might occur and which libraries are available for static linking or not. Stefan