"LDC has the --gc-sections flag", etc.

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 1 17:03:56 PDT 2014


On Monday, 1 September 2014 at 22:17:13 UTC, Abe wrote:
> 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?

GDC does not strip unneeded stuff by default on any OS, and 
generates by far the biggest executables in my experience (though 
some of it is due to druntime/Phobos debug info which you can 
manually strip out afterwards).

David


More information about the Digitalmars-d mailing list