[fpc-pascal] Smart-linking versus Whole Program Optimization
lacak at zoznam.sk
Wed Mar 10 14:58:38 CET 2021
>> It will be nice have this in documentation. For example in
>> At least explain:
>> - relation of -CX and -XX
>> - what is to be removed: non-referenced non-virtual methods, global
>> variables, and regular procedures/functions
> Disagreed. Those are implementation details, may vary from target to
> target, may depend on the assembler/linker rather than on FPC, etc. What
> I wrote is just the high level idea. When you have e.g. published
> properties and their RTTI, you can easily start having a lot of hidden
I do not insist that it must be written in this way, but something
should be there explained.
Goal is that: reader should understand what can expect from smart-linking.
More information about the fpc-pascal