[Issue 2254] Size of executable almost triples
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 5 12:48:24 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2254
torhu at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |torhu at yahoo.com
------- Comment #1 from torhu at yahoo.com 2008-08-05 14:48 -------
1.032 is the first version where phobos.lib is built using the new -lib switch.
That seems the likely culprit.
http://www.dsource.org/projects/phobos/changeset/811
I tried building hello world tests with dmd 1.031 and 1.032 to see the size
differences:
Hello world with writefln (import std.stdio):
1.031: 114.4 k
1.032: 269.5 k
Hello world with printf (no imports):
1.031: 78.0 k
1.032: 121.5 k
So something bad definitely happened between 1.031 and 1.032. Now, if someone
could be bothered to try building phobos 1.032 without the -lib switch and
compare, that would be great.
--
More information about the Digitalmars-d-bugs
mailing list