On 10/03/2021 14:33, LacaK via fpc-pascal wrote: > It will be nice have this in documentation. For example in > https://www.freepascal.org/docs-html/prog/progse30.html#x195-2000007.3 > > At least explain: > - relation of -CX and -XX
Indeed. > - 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 references. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal