[Lazarus] Strip debug info

Richard Mace richard at shrinkyourbills.co.uk
Sat Apr 28 17:51:00 CEST 2012


On 28 April 2012 11:03, John Landmesser <JohnML at online.de> wrote:

>  On 28.04.2012 08:57, Richard Mace wrote:
>
> Hi,
> What's the safest way of making the .exe smaller than default? Is it just
> to strip debug info?
> How would I do this?
>
>  Thanks in advance
>
>  Richard
>
>
> --
> _______________________________________________
> Lazarus mailing listLazarus at lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
> my DAU method is in terminal on linux
>
> strip --strip-all ./MyApplication
>
> strip.exe for Win is part of your fpc bin directory:
>
> /lazarus/fpc/2.5.1/bin/i386-win32/strip.exe
>
>
Would this be instead of the -Xg switch or as well as? Or does it do the
same thing?

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120428/27f62b3b/attachment-0003.html>


More information about the Lazarus mailing list