help understanding import libraries

maarten van damme maartenvd1994 at gmail.com
Mon Aug 22 09:26:36 PDT 2011


I'm thinking this is a compiler bug as I have reviewed my programs and
nearly all of them are 1.7 mb so it includes parts of something in my flags
while not needed

2011/8/20 maarten van damme <maartenvd1994 at gmail.com>

> hello.d first only used part from druntime, thats when it compiled to 144
> kb. If I follow the same procedure with parts from phobos.lib it is 500 kb
> like yours.
>
> I think it is because of my sc.ini.
> it contatins this:
> -I%@P%\..\..\src\phobos" "-I%@P%\..\..\src\druntime\import"  "-I%@P%\..\..\src\gtkd\src"
> "-I%@P%\..\..\src\gtkd\srcsv" "-I%@P%\..\..\src\gtkd\srcgda" "-I%@P%\..\..\src\gtkd\srcgl"
> "-I%@P%\..\..\src\gtkd\srcgstreamer" "-L %@P%\..\lib\GtkD.lib" "-I%@P%\..\..\src\bindings"
> "-L %@P%\..\lib\win32.lib"
>
> Is it including stuff from that while that's not used?
> I'm using dmd on windows 7.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110822/89547647/attachment-0001.html>


More information about the Digitalmars-d-learn mailing list