Thread overview
2.056: EXE size on Windows
Nov 03, 2011
pvy
Nov 03, 2011
Denis Shelomovskij
Nov 03, 2011
bearophile
November 03, 2011
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
November 03, 2011
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"
November 03, 2011
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