execute file size is much big from dmd1041.
dwt_test
dwt_test at gmail.com
Sun Oct 18 02:53:30 PDT 2009
dwt_test дµ½:
> I use bud build the dwt.lib. then use "dmd -L+dwt.lib" build the execute file. it is much fast then other ways.
>
> the problem is , the execute file size is become very big since dmd 1.41 .
> I try dwt-win and dwt Shawn Liu , the execute file size is both grow big.
>
> I try dmd 1.035 to dmd 1.041, the execute file size is similar, build Snippet38 the size is 850kb.
>
> I try dmd 1.041 to dmd1050 and dmd r215, the file size is 1.7M¡£
>
> my os is Window XP.
>
> I use " bud all.d -clean -full -allobj -ofdwt -release -O -I../ -lib " to build dwt.lib.
>
>
> I use " dmd1040 Snippet38.d -IE:\dmd\gui\dwt1 -L+advapi32_dwt.lib+gdi32_dwt.lib+comctl32_dwt.lib+comdlg32.lib+imm32_dwt.lib+kernel32_dwt.lib+msimg32_dwt.lib+ole32_dwt.lib+oleacc_dwt.lib+oleaut32_dwt.lib+olepro32_dwt.lib+shell32_dwt.lib+user32_dwt.lib+usp10_dwt.lib+version_dwt.lib+uuid.lib+dwt.lib -L/SUBSYSTEM:windows:4 " to build Snippet38 .
>
>
>
> I spent a lot of time on this issue, and please help me.
>
>
>
> sorry for my poor english.
>
>
I thing it is introduce by http://d.puremagic.com/issues/show_bug.cgi?id=2673 .
the dmd may be link all module in lib, it should only link module that has a static this.
More information about the Digitalmars-d
mailing list