[Lazarus] Large program size - 1.8 MB for empty GUI project

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Apr 3 14:56:20 CEST 2009


On Fri, Apr 3, 2009 at 2:18 PM, Paul Ishenin <webpirat at mail.ru> wrote:
>
> I think it will not grow to more than 2MB even after 2 years. Moreover I
> suspect size can go down when we start using native resources.

Well Paul, it is already way above 2MB!  Using Lazarus (trunk) r19175.

LCL-fpGUI = 2,530,336 bytes
LCL-GTK1 = 2,700,452 bytes
LCL-GTK2 = 2,793,732 bytes

This was a single form application with NO other components. Smart
Linkable and Smart Linking enabled, Level 2 optimization, icon
removed, no debugging information, Strip enabled and for good measure
I ran 'strip' manually afterwards.

So with LCL growing daily, the 5MB mark will be hit soon I think. The
2MB mark has come and gone (way before your next 2 years estimate).


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list