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.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to