[Lazarus] Size of program executable very big...

Bo Berglund bo.berglund at gmail.com
Sat Feb 19 08:06:56 CET 2011


On Fri, 18 Feb 2011 14:35:31 +0100, Bo Berglund
<bo.berglund at gmail.com> wrote:

>On Fri, 18 Feb 2011 13:37:39 +0200, Paul van Helden
><paul at planetgis.co.za> wrote:
>
>>The "Use external gdb debug symbol file (-Xg)" linking option works well for
>>me. It creates a 30MB .dbg file and a 5.4MB executable for my current
>>project.
>>
>>With this set, the "strip symbols from executable (-Xs)" option has no
>>impact and unchecking the -gl option only shaves of 6KB!
>
>That is probably what I will try tonight then. Seems reasonable to me.
>

With this option on the exe file reduced from 13 Mb to 1.6 Mb! :-)
Thanks!


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list