[fpc-pascal] Exe size

Michael Fuchs freepascal at ypa-software.de
Thu Sep 4 15:05:50 CEST 2008


Paul 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.

mfg
Michael



More information about the fpc-pascal mailing list