I've read that, but isn't it suppose to work within the ide instead of always start the cmd prompt and type in this ?
(or use a batch)
Will this work for WinCE also, cause this what I actually want to do?

Paul


----- Original Message ----- From: "Michael Fuchs" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org>
Sent: Thursday, September 04, 2008 3:07 PM
Subject: Re: [fpc-pascal] Exe size


Michael Fuchs schrieb:

I'm testing with FPC/Lazrus on Windows now, but a simple program results in 11.5 MB size. I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options (Lazarus), but the size is still the same.
Anything else I should do?

Use
    strip --strip-all $PROGRAMNAME.exe
after the compiling.

And if you want to shrink it more, try UPX.
http://upx.sourceforge.net/

mfg
Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to