[fpc-devel] Compiler switches to obtain the smallest file size

Henry Vermaak henry.vermaak at gmail.com
Fri Nov 14 10:54:37 CET 2008


2008/11/14 Fabio Dell'Aria <fabio.dellaria at gmail.com>:
> Hi to all,
>
> what are the FPC compiler switches I can use to obtain the smallest file size?
>
> Has been improved the "Smart Link" feature in the new 2.3.x branch?
>
> PS: I just know and use the "strip --strip-all" and "upx" commands.

http://wiki.freepascal.org/Size_Matters

use -XX -Xs

henry



More information about the fpc-devel mailing list