Distribution of D apps
W.J. via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jan 21 06:49:08 PST 2016
On Thursday, 21 January 2016 at 14:03:03 UTC, FreeSlave wrote:
> On Thursday, 21 January 2016 at 13:26:15 UTC, W.J. wrote:
>> On Wednesday, 20 January 2016 at 16:01:11 UTC, Dibyendu
>> Majumdar wrote:
>>> [...]
>>
>> Hi,
>>
>> On Linux you can use 'ldd' to print shared library
>> dependencies.
>> On Windows you can use Dependency Walker.
>> On Mac there's likely a similar program.
>> Mind also that license terms for distributing libraries apply.
>
> OS X has otool -L
>
> Note that these tools don't show runtime dependencies. Many
> libraries can be loaded at runtime, especially when you use
> derelict-like modules. These libraries in their turn may depend
> on others, etc.
Yes, except for Dependency Walker, which, if I recall, inspects
the executable and can recognize runtime dependencies via
LoadLibrary calls.
More information about the Digitalmars-d-learn
mailing list