www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - 2.056: EXE size on Windows

reply pvy <bulg ngs.ru> writes:
Hello, I'm newbie. I have been switched to 2.056 from 2.054 (I've been 
deleted its distro, so can't test it) and see that .exe file after 
compilation of Hello World now is about 1Mb! I tried with D1 and got 
~300Kb. Is it a bug in the 2.056 version?
PS. I compiled with:
dmd hello.d -release -d
   and
dmd hello.d
   always is about 1Mb
For example, my simple command line tool is compiled into 2Mb .exe file!

==
Regards, Yosifov Paul
Nov 03 2011
next sibling parent Denis Shelomovskij <verylonglogin.reg gmail.com> writes:
03.11.2011 12:29, pvy пишет:
 Hello, I'm newbie. I have been switched to 2.056 from 2.054 (I've been
 deleted its distro, so can't test it) and see that .exe file after
 compilation of Hello World now is about 1Mb! I tried with D1 and got
 ~300Kb. Is it a bug in the 2.056 version?
 PS. I compiled with:
 dmd hello.d -release -d
 and
 dmd hello.d
 always is about 1Mb
 For example, my simple command line tool is compiled into 2Mb .exe file!

 ==
 Regards, Yosifov Paul
Such question could be posted in "digitalmars.D.learn" or "digitalmars.D" newsgroup. And as Jonathan M Davis wrote: "This list is not intended to be posted to. You sign up for it if you want to see all of the messages from bugzilla. Please report bugs in bugzilla: d.puremagic.com/issues"
Nov 03 2011
prev sibling parent bearophile <bearophileHUGS lycos.com> writes:
pvy Wrote:

 Hello, I'm newbie. I have been switched to 2.056 from 2.054 (I've been 
 deleted its distro, so can't test it) and see that .exe file after 
 compilation of Hello World now is about 1Mb!
It's a known problem, but I don't expect significant improvements soon. Something funny on this topic: http://prog21.dadgum.com/116.html Bye, bearophile
Nov 03 2011