[Lazarus] debugging and "strip --strip-all ./lazarus* ./startlazarus"

Sven Barth pascaldragon at googlemail.com
Thu Dec 27 19:01:26 CET 2012


On 27.12.2012 18:53, John Landmesser wrote:
> Hi,
>
> Info:
> I use the svn version of lazarus, compile lazarus myself on a Debian Sid
> linux and windows XP.
>
> Question:
> do i loose any debugging possibilities of my own apps, if i strip
> lazarus as shown above?
>
> "man strip" tells me something about debugging symbols, but i think that
> does not concern my own appliaction.
>
> I gain half a GB if i strip ./Lazarus ./lazarus.old and ./startlazarus.
>
> I'll google now for command line parameters to strip these symbols, i
> know that these exists!

Why don't you just compile lazarus with "-Xs"? This should tell the 
compiler to remove all debug information from the executables, but still 
generates the debug information for the LCL.

Regards,
Sven





More information about the Lazarus mailing list