the exe size bloat from 4.3 MB to 10.6 MB

yidabu yidabu.spam at gmail.com
Tue Nov 25 22:40:30 PST 2008


On Wed, 26 Nov 2008 19:14:26 +1300
"Tim M" <a at b.com> wrote:

> On Wed, 26 Nov 2008 17:24:03 +1300, yidabu <yidabu.spam at gmail.com> wrote:
> 
> > On Tue, 25 Nov 2008 19:31:25 -0500
> > bearophile <bearophileHUGS at lycos.com> wrote:
> >
> >> 1.037 compiles my dlibs fine :-) And with no other increase of exe size.
> >
> > I compiled dwtx.lib by DMD 1.037, the exe size bloat from 4.3 MB to 10.6  
> > MB
> >
> 
> Is that 4.3M compiled with dwt aswell? Do you mean that just dmd update  
> alone caused it to grow to 10.6M?

4.3 M compiled with dwtx.lib(by dsss 0.75)

dmd ...1.035, 1.036, 1.037 builded dwt or dwtx static library causes exe grow to 10.6 MB.


steps to build static library:

1. create file: dwtx_static, content:

-release
-O
-version=TANGOSVN
-JD:\dwt-addons\res
-JD:\dwt-samples\res
-JD:\dwt-win\res
-lib
-ofdwtx.lib
dwtx\core\commands\AbstractParameterValueConverter.d
dwtx\core\commands\CategoryEvent.d
dwtx\core\commands\CommandEvent.d
...

2. run command:
dmd @dwtx_static






-- 
yidabu <yidabu.spam at gmail.com>
http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/




More information about the Digitalmars-d-announce mailing list