"LDC has the --gc-sections flag", etc.
Abe via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 1 15:17:12 PDT 2014
First: thanks to Joakim and yourself for all the recent replies.
> unnecessary symbols are not stripped.
I think that`s the most essential part of why "Hello world" came
out so big for me.
> LDC has the --gc-sections flag, enabled by default. This will
> significantly reduce the since of the binary.
Thanks to both you and Joakim for that.
Do you guys — or anybody else — know what the situation is with
GDC? Does it strip out unneeded sections/symbols/both, or is it
just dumping everything into the executable like DMD-on-Mac-OS-X
seems to do?
— Abe
More information about the Digitalmars-d
mailing list