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.