[Lazarus] Deep exe strip :)

Kostas Michalopoulos badsectoracula at gmail.com
Thu Oct 25 15:29:59 CEST 2012


I think there should be a one checkbox solution in project settings
that builds (and rebuilds) stuff with the proper settings to make
things compact. From what i understand the current situation is way
too complex.

On Thu, Oct 25, 2012 at 1:35 PM, Martin <lazarus at mfriebe.de> wrote:
> On 25/10/2012 11:50, Krzysztof wrote:
>>>
>>> Does the size change if you do a
>>>
>>> strip --strip-all executable
>>>
>>> in one of the large versions down to the small version?
>>
>> With strip-all I can't get the smallest exe which I get with lazarus
>> switchers - 3.7 MB
>>
>
> strip and smart-linking/linkable are not related.
> - strip can and will only remove debug info.
> - Smart link can remove unused code.
>
> And you can go further and try
> http://wiki.freepascal.org/Whole_Program_Optimization
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list