File size problem

Long Chang changedalone at gmail.com
Sat Dec 12 19:25:48 PST 2009


2009/12/13 torhu <no at spam.invalid>:
> On 12.12.2009 1:11, Long Chang wrote:
>>
>> I build dwt-win&  dwtx with dmd 1.053&  tango trunk on win32 . the
>> execute file size is huge.
>>
>> I build  dwt-samples\jface.text\Simple.d, the execute file size is
>> 24051kb, the file has 21733kb binary value is 0xff&  0x00,  after
>> upx compress the file size is 1034kb.
>
> Please try the advice posted here, and see if it helps:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=2254#c10
>

thank you for he tip.

the file size is still big with xfbuild or bud,  build dwtx.jface.text
will gen a float exe file.
the exe file can be compress  to 5% size.  when it run cost 29M memroy
even i already use upx compress  it .
I think there is some issue inside dmd or optlink.
the dwt is great lib, but had not get enough attention from Walter.
if we make a Product Level DWT  lib,  Will attract a lot of
programmers even without a IDE.



More information about the Digitalmars-d mailing list