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

2019-02-13 Thread Stefan Weil
On 13.02.19 10:32, Daniel P. Berrangé wrote: > FYI, I re-discovered a way to do this without needing wine, just plain > binutils > > x86_64-w64-mingw32-objdump -p /path/to/binary.exe | grep "DLL Name" | awk > '{print $3}' See also https://github.com/gsauthof/pe-util. The command line tool

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

2019-02-13 Thread Daniel P . Berrangé
On Thu, Jan 31, 2019 at 10:49:11AM +, Daniel P. Berrangé 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 >

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

2019-01-31 Thread Stefan Weil
On 31.01.19 12:28, Daniel P. Berrangé wrote: > On Thu, Jan 31, 2019 at 11:19:04AM +, Peter Maydell wrote: >> On Thu, 31 Jan 2019 at 10:50, Daniel P. Berrangé wrote: >>> >>> On Thu, Jan 31, 2019 at 02:45:13PM +1100, Adam Baxter wrote: Hi, How do I gather and include the required DLLs

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

2019-01-31 Thread Daniel P . Berrangé
On Thu, Jan 31, 2019 at 11:19:04AM +, Peter Maydell wrote: > On Thu, 31 Jan 2019 at 10:50, Daniel P. Berrangé 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?

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

2019-01-31 Thread Peter Maydell
On Thu, 31 Jan 2019 at 10:50, Daniel P. Berrangé 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 > >

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

2019-01-31 Thread Adam Baxter
My extremely embarassing script for getting the DLLs is as follows, but at least it avoids a WINE dependency: STAGING=/tmp/myqemu/ make install prefix=$STAGING #todo: probably better to walk these dependencies in a loop, and not use grep (but seriously, where's the mingw dumpbin) FIRST=$(strings

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

2019-01-31 Thread Daniel P . Berrangé
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

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

2019-01-30 Thread Adam Baxter
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