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

Marco van de Voort marcov at stack.nl
Sat Apr 4 19:21:48 CEST 2009


On Sat, Apr 04, 2009 at 01:35:31PM +0200, Thierry Coq wrote:
> when is dynamic linking in mainstream Lazarus scheduled?

As soon as somebody implements the needed functionality in FPC. Like
packages.

http://wiki.freepascal.org/packages

> 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.

But for only one program the distribution is bigger. And only when compiled
with exactly the same version sharing is possible. And of course more
programs will need an installer.

The theory is always appealing, but look in practice to systems that have
dynamic runtimes and distribute binaries. Version problems are the norm.
 
> In any case, manual dynamic linking is possible.

Is it? How do you avoid the duplication of VMTs and RTL state ?





More information about the Lazarus mailing list