[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: |
Martin Müllenhaupt |
Subject: |
Re: [Mingw-cross-env-list] question: how to use copydlldeps.py and what it is? |
Date: |
Fri, 05 Jun 2015 10:42:55 +0200 |
User-agent: |
KMail/4.14.6 (Linux/3.19.0-18-generic; KDE/4.14.6; x86_64; ; ) |
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