On 17 February 2011 21:43, Bo Berglund <[email protected]> wrote:

> On Thu, 17 Feb 2011 00:36:48 +0100, Michael Schneider
> <[email protected]> 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
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to