[fpc-devel] Compiler switches to obtain the smallest file size
fabio.dellaria at gmail.com
Fri Nov 14 11:26:48 CET 2008
On Fri, Nov 14, 2008 at 10:54 AM, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> 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.
Thank you very much.
Reading on the site I have removed a package unit from my project .lpr
uses and reduce its size at about 50% (from 3.6Mb to 1.76Mb).
Really good! :)
> use -XX -Xs
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel