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 applications). Here is the full description from the FPC Programmers Manual. http://www.freepascal.org/docs-html/current/prog/progsu118.html#x126-1270001.3.35 Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal