[Lazarus] How to strip debug symbols from exe file?

Michael Van Canneyt michael at freepascal.org
Sat Dec 30 12:14:43 CET 2017



On Sat, 30 Dec 2017, Bo Berglund via Lazarus wrote:

> I usually program with Lazarus on a Linux platform and with Delphi on
> Windows.
> But now I am working on a Lazarus 1.8.0/fpc3.0.4 IDE to make a
> crossplatform program.
>
> On Linux I am used to do "strip -s filename" on the resulting
> executable to bring it down to a sensible size.
> But on Windows 7, what can I do?

You can do exactly the same. FPC is distributed with a strip binary.

Michael.


More information about the Lazarus mailing list