[Lazarus] Strip debug info

Richard Mace richard at shrinkyourbills.co.uk
Sat Apr 28 21:19:08 CEST 2012


On 28 April 2012 08:21, Reinier Olislagers <reinierolislagers at gmail.com>wrote:

> On 28-4-2012 8: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?
> Perhaps this will give you some ideas?
>
> http://wiki.lazarus.freepascal.org/Size_Matters#Incorrect_compiler_configuration
>
> ... you can either not generated debug info at all or generate external
> debug info (.dbg)...
>
>
Is there any reason why the -Xg flag is not on at default? What's the
disadvantage of using this flag? The reason I say is because there is a
"massive" reduction in .exe size?

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


More information about the Lazarus mailing list