On 12/24/2014 7:10 AM, Kapps wrote:
Does DMD/Optlink on Windows do this too? I've noticed that using DMD/Optlink on Windows, my executable is 4MB for unittests on a module that uses a lot of CTFE template methods, while with DMD/ld on Linux (and I believe GDC/ld as well), the same test executable is over 40MB.
You can find out what is in an executable by linking with the /MAP option.