Generated binary size

Dicebot public at dicebot.lv
Sun Sep 15 14:07:26 PDT 2013


On Sunday, 15 September 2013 at 21:05:18 UTC, Iain Buclaw wrote:
> --strip-unneeded could potentially cause lots of undefined 
> reference
> errors on static libraries.  Shared libraries don't suffer this
> because symbols are put into a special section which strip 
> knows not
> to touch.
>
> General rule of them:
>
> binaries: strip <file>
> static libraries: strip --strip-debug <file>
> shared libraries: strip --strip-unneeded <file>

Ok, thanks.

What may cause twice the difference in the original post then? :)


More information about the D.gnu mailing list