[fpc-pascal] Minimal size of compiled library (DLL under Windows)

Jonas Maebe jonas at freepascal.org
Tue Apr 6 14:16:59 CEST 2021


On 2021-04-06 12:22, LacaK via fpc-pascal wrote:
> May be, that important word is here "referenced" code.
> Once some code (procedure, class) is referenced then this code is
> linked / included.
> It does not play role if it is really required by program / library ... 
> right?

It is impossible for a linker to know whether code is "really required". 
It doesn't know what code does. It only knows whether or not it 
(theoretically) can get executed.


Jonas


More information about the fpc-pascal mailing list