The only way to get better smartlinking is to build an integrated linker in the compiler. That way we can control everything.
Might it be possible to keep a recerence counter for procedures/methods while compiling them and then not to include them in the objects that are passed to the linker? I know it sounds semi-serious, but maby that's the easiest way to go around the linker-problem and be linker-independent.
Matthias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel