digitalmars.D - File size problem
- Long Chang (8/8) Dec 11 2009 I build dwt-win & dwtx with dmd 1.053 & tango trunk on win32 .
- torhu (3/8) Dec 12 2009 Please try the advice posted here, and see if it helps:
- Long Chang (12/22) Dec 12 2009 ter
- Long Chang (2/2) Dec 12 2009 xfbuild reduce the file size to 14M, cost memory to 20M.
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. I want to know is the optlink bring this issue ? The new version of optlink will fix it? About how long the new optlink be useful?
Dec 11 2009
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
Dec 12 2009
2009/12/13 torhu <no spam.invalid>:On 12.12.2009 1:11, Long Chang wrote:theI build dwt-win& =C2=A0dwtx with dmd 1.053& =C2=A0tango trunk on win32 .=terexecute file size is huge. I build =C2=A0dwt-samples\jface.text\Simple.d, the execute file size is 24051kb, the file has 21733kb binary value is 0xff& =C2=A00x00, =C2=A0af=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.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=3D2254#c10
Dec 12 2009
xfbuild reduce the file size to 14M, cost memory to 20M. compressed size is 1M.
Dec 12 2009