Hi,
I was able to identify all required external dll's using ProcessExplorer at
runtime; this is a very handy utility.
Thanks for the pointers, no less than 16 external dependencies were
identified that are not explicitly specified on the link command; going
through the trial and error method of identifying each missing library at
runtime via installing and executing (resulting in failure) would have been
at the least very annoying and at worst painful.
cheers,
richard
On Fri, Aug 29, 2008 at 8:21 PM, Charles Wilson <
cwilso11@...> wrote:
> richard boaz wrote:
>
> > So my question more explicitly is, how can I discover "all" library
> > dependencies, even though an external library might not be explicitly
> > contained in my application itself?
>
> cygcheck.exe can be extracted from the cygwin distribution (it is NOT a
> cygwin program and can be used standalone).
>
> DependencyWalker is available from sysinternals.
>
> However, both of those only show explicitly, linked dependencies. If
> your application (or one of your explicitly-depended libraries) uses
> LoadLibrary("some other dll"), then you probably need to use
>
> ProcessExplorer also from sysinternals
>
> And investigate the behavior of your application *while it is running*.
>
> --
> Chuck
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@...
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
>
|