help understanding import libraries

maarten van damme maartenvd1994 at gmail.com
Sat Aug 20 05:07:46 PDT 2011


That explains it, thank you.
Now only how come that
"dmd hello.d" results in a 1.70 mb application whereas
"dmd -c hello.d" && "dmd hello.obj phobos.lib" results in a 144 kb app
(sorry for confusion, Turns out I didn't link my app with phobos.lib but
recompiled the object file with phobos.lib

2011/8/20 Kagamin <spam at here.lot>

> maarten van damme Wrote:
>
> > But where does the lib file searches for the dll file? how can we control
> > that? Is my hunch right?
>
> The dll is searched by the system. It's a documented procedure. You can
> control it to some degree by manifest files.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110820/abc5d3bd/attachment.html>


More information about the Digitalmars-d-learn mailing list