Generated binary size

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Sep 13 06:22:01 PDT 2013


On 13/09/13 15:14, Joseph Rushton Wakeling wrote:
> Related query -- is there any way of telling the compiler (gdc/gdmd or
> preferably any of the D compilers) to strip out unused symbols/functions/data
> from the binary?

I ask because I just tried compiling with the -fdata-sections and 
-ffunction-sections options enabled, and the binaries I got were still including 
that lovely 10MB bonus ... :-P



More information about the D.gnu mailing list