[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] NSIS - including DLL dependencies for Windows

From: Stefan Weil
Subject: Re: [Qemu-devel] NSIS - including DLL dependencies for Windows
Date: Thu, 31 Jan 2019 14:27:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 31.01.19 12:28, Daniel P. Berrangé wrote:
> On Thu, Jan 31, 2019 at 11:19:04AM +0000, Peter Maydell wrote:
>> On Thu, 31 Jan 2019 at 10:50, Daniel P. Berrangé <address@hidden> wrote:
>>> On Thu, Jan 31, 2019 at 02:45:13PM +1100, Adam Baxter wrote:
>>>> Hi,
>>>> How do I gather and include the required DLLs (SDL, zlib etc) in the NSIS
>>>> installer? (and also in a standalone build to be zipped up, but that's less
>>>> important)
>>>> I noticed the wiki doesn't really mention bundling dependencies anywhere.
>>>> The official unofficial windows builds are documented at
>>>> https://qemu.weilnetz.de/FAQ but this doesn't cover building the actual
>>>> installer.
>>> Yeah, this is a pretty major ommision in QEMU's build rules for the NSIS
>>> installer making it pretty much useless as is. We really need to expand
>>> it so that it can resolve the dlls that qemu .exe's need, locate them
>>> on the host and bundle them into the installer automatically.

The current code already automatically includes all DLL files found in
dll/w32 or dll/w64 in the root source directory.

I had chosen that very simple solution because I am afraid that a
general rule to find the right DLL files for Windows native and cross
builds with all kinds of cross build hosts (Debian, Fedora, ...) is
impossible to maintain.

So currently every developer has to select and provide the DLL files
needed. That's how I‌ do it for my installers, too. Each time when I
update Debian or the Cygwin packages which I use for the cross build, I
also have to update the DLL set.

Stefan Weil

reply via email to

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