[fpc-pascal] Exe size
Paul
paul.blommaerts at telenet.be
Thu Sep 4 15:15:01 CEST 2008
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" <m.fuchs at ypa-software.de>
To: "FPC-Pascal users discussions" <fpc-pascal at 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
More information about the fpc-pascal
mailing list