[dub] Size of executable
Kapps via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Nov 28 03:49:09 PST 2014
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 MB whereas the one built by hand was only 807 kB. Why
> is that?
>
> Another thing, I've spotted a typo in dub's[2] command line
> help:
>
> clean [<package>] Removes intermetiate build files and
> cached build
> results
>
> It should read "intermediate" (with "d"), else it sounds like
> the Goths in Asterix :-)
>
>
>
> [1] dmd 2.066.0
> [2] DUB version 0.9.22, built on Sep 16 2014
Dub builds with debug symbols by default. Using dub build -v will
tell you how it invokes DMD.
More information about the Digitalmars-d-learn
mailing list