[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] question: how to use copydlldeps.py and what
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] question: how to use copydlldeps.py and what it is? |
Date: |
Fri, 5 Jun 2015 11:11:35 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Martin,
Thanks for that explaination. Maybe we should add this (and other)
descriptions of the tools to the website?
Any voluteers for pull requests for index.html?
Regards,
Volker
Martin Müllenhaupt schrieb:
> Hi Hamza,
>
> On Wednesday, June 03, 2015 10:50:58 PM Hamza Alloush wrote:
> > does it dependancy walk all dll's required for exectable to ship as
> > standalone program?
>
> Yes, that's its purpose.
>
> > how do i use it?
>
> You invoke it with
> copydlldeps.py TARGETDIR \
> -C CHECKDIR \
> -L LIBDIR
>
> It will copy all needed dll files into TARGETDIR directory.
> All PE files (eg .dll and .exe) in -C specified paths will be checked for
> their dependencies. All needed .dll files will recursively be searched in the
> -L paths.
>
> For example if you build your executable in '/path/to/mypath' and want to
> copy
> all needed dlls from '/path/to/mxe/usr/i686-w64-mingw32.shared/bin' into its
> directory, you will invoke it with
> copydlldeps.py '/path/to/mypath' -C '/path/to/mypath' -L
> '/path/to/mxe/usr/i686-w64-mingw32.shared/bin'.
>
> I hope it works for you.
>
> Martin Müllenhaupt
>
--
Volker Grabsch
---<<(())>>---