Generated binary size
Iain Buclaw
ibuclaw at ubuntu.com
Sun Sep 15 14:30:09 PDT 2013
On 15 September 2013 22:07, Dicebot <public at dicebot.lv> wrote:
> 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? :)
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...
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
More information about the D.gnu
mailing list