[fpc-pascal] Executable size compiler 1.96 vs 1.06

Peter Vreman peter at freepascal.org
Tue May 17 09:50:31 CEST 2005

> |
> | Initialization of the classes and implicitly used sysutils unit uses
> more
> | code. Also the use of resourcestrings increases the binary.
> |
> | The size is mainly a rtl issue. The smartlinking principle in the
> compiler
> | isn't changed since 1.0.6.
> |
> Hmm, so really then I shouldn't notice that  huge difference, because I
> have smart linking on (both
> smartlinking options checked, using lazarus IDE for win32). But I'm going
> to run a fresh command line compile
> now, just incase some setting is mucked up somewhere or a misconfigured
> cfg file is somehow being called.

Please test it with a official FPC 2.0.0 win32 release. The size should be
less. A simple hello world is only 25KB. And a hello world+classes unit is

More information about the fpc-pascal mailing list