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

Thierry Coq tcoq at free.fr
Sat Apr 4 13:35:31 CEST 2009


Hello,

when is dynamic linking in mainstream Lazarus scheduled? we could spread 
the size of the LCL over a set of DLLs. Small utilities would all share 
the same DLLs, and have in their EXE file only a couple of hundred Ko.

In any case, manual dynamic linking is possible.

Best regards,
Thierry

Igor Tkachenko wrote:
> Hello everyone!
>
> As stated in this article http://wiki.freepascal.org/Size_Matters 
> "Lazarus apps on Windows are about 500k, but quickly grow to 1.5 MB" 
> however I cannot made Lazarus to build empty application less than 1.8 
> MB. I've enabled option "Link Smart" at "Linking" tab of compiler 
> options as well as "Strip Symbols From Executable" and disabled 
> "Display line numbers in runtime..", however nothing helps to make 
> empty application less.
>
> Does this mean that 1.8 MB is the size of empty Lazarus application 
> now? Or I do something wrong?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   




More information about the Lazarus mailing list