Op 2021-04-03 om 13:22 schreef LacaK via fpc-pascal:
I am guessing, that there must be something in initialization sections
of units (SysUtils and Classes), which cause that some code is
included, right?
Can I somehow to avoid this grow of size (for example I need from
Classes only TFPList)?
Not in an easy way at the moment, I don't expect it to change anytime soon.
The problem is probably the streaming system that the compiler can't
easily determine if it is used runtime. This also has resourcestrings as
errors, uses typeinfo etc etc. I also see interface related support
probably because tcomponent also implements interfaces.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal