[Lazarus] Deep exe strip :)

Martin lazarus at mfriebe.de
Thu Oct 25 13:35:41 CEST 2012


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





More information about the Lazarus mailing list