help understanding import libraries
simendsjo
simendsjo at gmail.com
Sat Aug 20 05:54:58 PDT 2011
On 20.08.2011 14:07, maarten van damme wrote:
> 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.
>
>
I cannot reproduce this. I get the same size even if I link manually.
More information about the Digitalmars-d-learn
mailing list