Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-11

Compiler switches to obtain the smallest file size

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fabio Dell'Aria

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.

Best regards... Fabio Dell'Aria.

Reply by email

Fabio Dell'Aria
to Henry Vermaak

Hi,

Henry Vermaak wrote 10 lines
2008/11/14 Fabio Dell'Aria : > 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

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! :)

Show quoted text 7 lines
use -XX -Xs henry _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
Best regards... Fabio Dell'Aria.

Reply by email