Re: [dub] Size of executable

2014-11-28 Thread Chris via Digitalmars-d-learn
version is 1.9 MB whereas the dub-compiled version is 3.5 MB. There is absolutely nothing in dub.json that links to anything else. Now, I've just created an empty test project with $ dub init size The executable is 940.5 kB Then $ dmd source/app.d -ofother The executable is 548.0 kB Try

Re: [dub] Size of executable

2014-11-28 Thread Kapps via Digitalmars-d-learn
On Thursday, 27 November 2014 at 09:33:49 UTC, Chris wrote: [Maybe this has been asked before.] I usually use dub to create and build projects. I built one of the projects with dub and then by hand with dmd[1] passing all the files etc. Turned out that the executable built with dub was 1.4

[dub] Size of executable

2014-11-27 Thread Chris via Digitalmars-d-learn
[Maybe this has been asked before.] I usually use dub to create and build projects. I built one of the projects with dub and then by hand with dmd[1] passing all the files etc. Turned out that the executable built with dub was 1.4 MB whereas the one built by hand was only 807 kB. Why is that?

[dub] Size of executable

2014-11-27 Thread Chris via Digitalmars-d-learn
[Maybe this has been asked before.] I usually use dub to create and build projects. I built one of the projects with dub and then by hand with dmd[1] passing all the files etc. Turned out that the executable built with dub was 1.4 MB whereas the one built by hand was only 807 kB. Why is that?

Re: [dub] Size of executable

2014-11-27 Thread Gary Willoughby via Digitalmars-d-learn
On Thursday, 27 November 2014 at 09:33:49 UTC, Chris wrote: I usually use dub to create and build projects. I built one of the projects with dub and then by hand with dmd[1] passing all the files etc. Turned out that the executable built with dub was 1.4 MB whereas the one built by hand was

Re: [dub] Size of executable

2014-11-27 Thread Chris via Digitalmars-d-learn
On Thursday, 27 November 2014 at 12:29:03 UTC, Gary Willoughby wrote: On Thursday, 27 November 2014 at 09:33:49 UTC, Chris wrote: I usually use dub to create and build projects. I built one of the projects with dub and then by hand with dmd[1] passing all the files etc. Turned out that the

Re: [dub] Size of executable

2014-11-27 Thread CraigDillabaugh via Digitalmars-d-learn
On Thursday, 27 November 2014 at 13:56:19 UTC, Chris wrote: On Thursday, 27 November 2014 at 12:29:03 UTC, Gary Willoughby wrote: On Thursday, 27 November 2014 at 09:33:49 UTC, Chris wrote: I usually use dub to create and build projects. I built one of the projects with dub and then by hand

Re: [dub] Size of executable

2014-11-27 Thread Chris via Digitalmars-d-learn
On Thursday, 27 November 2014 at 13:59:23 UTC, CraigDillabaugh wrote: On Thursday, 27 November 2014 at 13:56:19 UTC, Chris wrote: On Thursday, 27 November 2014 at 12:29:03 UTC, Gary Willoughby wrote: On Thursday, 27 November 2014 at 09:33:49 UTC, Chris wrote: I usually use dub to create and

Re: [dub] Size of executable

2014-11-27 Thread CraigDillabaugh via Digitalmars-d-learn
On Thursday, 27 November 2014 at 14:14:50 UTC, Chris wrote: On Thursday, 27 November 2014 at 13:59:23 UTC, CraigDillabaugh wrote: On Thursday, 27 November 2014 at 13:56:19 UTC, Chris wrote: On Thursday, 27 November 2014 at 12:29:03 UTC, Gary Willoughby wrote: On Thursday, 27 November 2014 at

Re: [dub] Size of executable

2014-11-27 Thread Mike Wey via Digitalmars-d-learn
On 11/27/2014 03:14 PM, Chris wrote: dub says: Compiling using dmd... Linking... I have the exact same setting, I think. I don't build for release with either method. dmd file1.d file2.d file3.d ... (dub compiles the same files, no release build) dub builds with --debug by default. --