[fpc-pascal] Will the size of an executable depend on the uses clause
LacaK
lacak at zoznam.sk
Wed Jun 16 13:32:22 CEST 2021
>>> Since the final binary size after using strip -s on the exe file is
>>> 271 kb it seems a bit big!
>>> Or is there a lot behind the scenes I have missed?
>> Classes is a hog.
>
> I had a look, and only tthreadlist (and with that tlist) were
> instantiated in the startupcode.
There are also global variables, which involve for example TComponent
(and interfaces) ...
(see also thread "Minimal size of compiled library (DLL under Windows)"
in this list from April 2021)
L.
More information about the fpc-pascal
mailing list