[fpc-pascal] Will the size of an executable depend on the uses clause
Tomas Hajny
XHajT03 at hajny.biz
Wed Jun 16 11:21:20 CEST 2021
On 2021-06-16 10:58, Marco van de Voort via fpc-pascal wrote:
> Op 2021-06-16 om 09:16 schreef Mattias Gaertner via fpc-pascal:
>> On Wed, 16 Jun 2021 08:57:13 +0200
>> Bo Berglund via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>>
>>> If I by habit add a bunch of often used units to the uses clause will
>>> that affects the size of the compiled application even if they are
>>> not in fact used?
>> Yes, if they have e.g. initialization sections.
> Or if they contain $R inclusions.
...or many other things which may not be smartlinked, either because it
is not possible, or because the compiler and/or linker cannot do it
right now.
Tomas
More information about the fpc-pascal
mailing list