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@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.