[Issue 2254] Size of executable almost triples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 14 07:50:26 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=2254


Kuan Hsu <nagahiro.kyo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nagahiro.kyo at gmail.com


--- Comment #18 from Kuan Hsu <nagahiro.kyo at gmail.com> 2011-05-14 07:46:16 PDT ---
(In reply to comment #17)
> (In reply to comment #16)
> > (In reply to comment #15)
> > ...
> > > See bug 5660.
> > 
> > Since bug 5660 doesn't exist (yet), I assume you mean bug 5560.
> 
> Yes, thank you (wishes for comment editing...)

(In reply to comment #3)
> (In reply to comment #1)
> > 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.
> 
> Yep, that did the trick. I've used the v1.031 makefile to build phobos from
> v1.032, using v1.032. Both phobos.lib and the built .exe file have the size
> from v1.031. It's definately the -lib switch that's causing the bloat.

Using V1.030's phobos.lib instead of V1.066, the "hello world" exe size is
116KB, so the issue is all about phobos.lib

Using V1.068, the original size of phobos.lib is 1545KB, trying rewrite
win32.mak(using lib.exe to make phobos.lib) to get new phobos.lib is 951KB, the
"hello world" exe size is 123KB

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list