From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuEvA-0003UY-0T for Qemu-devel@nongnu.org; Fri, 28 Nov 2014 01:20:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuEv3-0000qM-Tw for Qemu-devel@nongnu.org; Fri, 28 Nov 2014 01:20:47 -0500 Received: from mail-r83.rz.uni-mannheim.de ([134.155.96.83]:40121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuEv3-0000oy-Me for Qemu-devel@nongnu.org; Fri, 28 Nov 2014 01:20:41 -0500 Message-ID: <54781436.7020604@weilnetz.de> Date: Fri, 28 Nov 2014 07:20:38 +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> <5477944B.1000901@weilnetz.de> <2861033C-03F0-4895-B00F-DE19BF4EEC5C@livius.net> In-Reply-To: <2861033C-03F0-4895-B00F-DE19BF4EEC5C@livius.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 22:38 schrieb Liviu Ionescu: > > On 27 Nov 2014, at 23:14, Stefan Weil wrote: > >> Do you really need statically linked executables > > actually I don't know, my experience with Windows is limited :-( > > on OS X, if I distribute a folder containing an executable and a bunch of dynamic libraries, the folder where the executable is located is the first choice for searching the libraries, so I don't have to mess with library versions in any system library folders. > > on Windows I could not make this work. if this is possible, and you have a procedure to create a setup that does a reasonable job without messing other things, ok, I don't mind packing an executable and several dynamic libraries, I'll use it too. Windows dynamic libraries (DLL files) are also loaded from the executable's directory if they exist there. You don't need a special setup to make that work, it's the standard behaviour. Regards Stefan