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

Bo Berglund bo.berglund at gmail.com
Thu Feb 17 22:43:29 CET 2011


On Thu, 17 Feb 2011 00:36:48 +0100, Michael Schneider
<micsch at gmail.com> wrote:

>Am Thursday 17 February 2011 00:21:25 schrieb Bo Berglund:
>
>> I had not looked at the size before but now I see that the test
>> executable is now 13 Mbytes! Is this normal? I would not have expected
>> this size considering that the program contains so little yet...
>>
>
>http://wiki.lazarus.freepascal.org/Size_Matters

Trying to digest but very hard...
Isn't there a simpler setting in Lazarus that can switch on/off
optimization or debug data generation?
I guess that the exe is big because it contains debug stuff, but that
a single form created as a default project and where I added 10
buttons, 3 spinedits, 1 combobox and 5 shapes as signal "lamps" plus a
couple of units with pretty straightforward object definitions and the
SdpoSerial component could turn out as a 13 Mb exe file is beyond my
grasp.
THe link above brings me to a page where big seems to start at 6
Mb....


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list