Simple JFace program takes 800 obj files compiled in ( was Re: Executable size )

yidabu yidabu.spam at gmail.com
Mon May 12 04:58:58 PDT 2008


On Thu, 08 May 2008 14:47:21 -0400
Frank Benoit <keinfarbton at googlemail.com> wrote:

> terranium Wrote:
> 
> > Frank Benoit Wrote:
> > 
> > >
> > > A compiled DWT app as .exe is about 7 MB and using JFace 14 MB.
> > > 
> > 
> > Whoa. Poseidon uses DWT and it's a *little* bit smaller.
> 
> Yes, indeed. I wonder if UPX was used.
> What is the difference? Is it just that the old DWT uses less modules?
> 

I use dsss to build a simple jface program (just one module), it takes more than 800 obj files (modules), the executable size is 15 MB. ( dwt-win svn, dwt-addons svn). 

Does all 800 modules must compile in the simple jface program ? 

btw, seems impossible to build a jface program by dmd directly.

-- 
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 mailing list