Generated binary size

Dicebot public at dicebot.lv
Sun Sep 15 13:02:58 PDT 2013


On Sunday, 15 September 2013 at 19:59:48 UTC, Iain Buclaw wrote:
> 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. ;)

Well, with --strip-debug it is back to the original situation in 
the very first comment, numbers there are with --strip-debug 
(what is the potential danger with --strip-unneeded?)


More information about the D.gnu mailing list