Generated binary size

Iain Buclaw ibuclaw at ubuntu.com
Sun Sep 15 12:59:39 PDT 2013


On 15 September 2013 20:46, Dicebot <public at dicebot.lv> wrote:
> On Friday, 13 September 2013 at 18:09:15 UTC, Iain Buclaw wrote:
>>
>> du -h lib64/libgphobos2.a
>> 73M    lib64/libgphobos2.a
>>
>> strip --strip-unneeded  lib64/libgphobos2.a
>>
>> du -h lib64/libgphobos2.a
>> 18M    lib64/libgphobos2.a
>
>
> Well, looks like you have just found a bug in default Arch Linux
> makepkg.conf :) It does only "--strip-debug" for static libraries (for
> unknown reasons I am trying to figure out).
>
> Thanks :)

--strip-debug should do the trick as well...  --strip-unneeded
probably isn't recommended for libraries. ;)

-- 
Iain Buclaw

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


More information about the D.gnu mailing list