[fpc-pascal] Smart Link definition ?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Oct 7 17:39:37 CEST 2016

On 2016-10-07 14:19, fredvs wrote:
> I can say that it tells the compiler to remove unneeded symbols but it is
> only my feeling.

Yes, that is pretty much what it does. At the linking stage the compiler
can determine what code is never used and exclude that from the binary -
normally with a huge reduction in executable size (for real-world

Here is the full description from the FPC Programmers Manual.



fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the fpc-pascal mailing list