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

Sven Barth pascaldragon at googlemail.com
Thu Dec 27 20:02:58 CET 2012


On 27.12.2012 19:18, Vincent Snijders wrote:
> 2012/12/27 Sven Barth <pascaldragon at googlemail.com>:
>>
>>
>> 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.
>>
>
> IIRC. Lazarus makefiles add the -gl option, so -Xs will be ignored.

Then add -Xg instead and remove the resulting lazarus.dbg, 
startlazarus.dbg and lazbuild.dbg files...

Regards,
Sven





More information about the Lazarus mailing list