Generated binary size

Iain Buclaw ibuclaw at ubuntu.com
Sun Sep 15 16:20:22 PDT 2013


On 15 September 2013 23:01, Dicebot <public at dicebot.lv> wrote:
> On Sunday, 15 September 2013 at 21:30:17 UTC, Iain Buclaw wrote:
>>
>> As per my initial post, strip not being ran on the library after
>> installation. :-)
>>
>> The makefile for libphobos/libdruntime certainly doesn't strip the
>> libraries for you when you make strip-install.  At least not yet...
>
>
> As per my answer, those result are _with_ "--strip-debug" :P
>
> (stripping is done automatically by package manager utilities like `makepkg`
> when you build package in Arch)


gdc's druntime also pulls in libgcc so that will be one factor to a
larger executable.  Having a look at ldd output, the gdc produced
binary also links in libm, whereas dmd's doesn't.

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list