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

Frank Church vfclists at gmail.com
Thu Feb 17 22:59:57 CET 2011


On 17 February 2011 21:43, Bo Berglund <bo.berglund at gmail.com> wrote:

> 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....
>
>
>
'strip --strip-all programname.exe' when you are ready to deliver.

There are other optimizations that can be used in the code generation itself


> --
> Bo Berglund
> Developer in Sweden
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110217/3316c4c5/attachment-0003.html>


More information about the Lazarus mailing list