[Lazarus] Strip problems

Paul Ishenin ip at kmiac.ru
Tue Feb 16 04:00:03 CET 2010


16.02.2010 3:03, JoshyFun пишет:
> Hello Lazarus-List,
>
> I'm used to use a:
>
> strip program.exe --strip-all
>
> Before releasing an exe, as it is quite easy operation, but since a
> few weeks (maybe some months) strip can not remove all "extra"
> information in the exe file.

I'd suggest to use -Xg option. You will have no debug symbols in the 
executable but have them in a separate file for gdb only. This way you 
can just take your exe for releasing.

I must admit that strip indeed does not work for my executables with 
dwarf debug info.

Best regards,
Paul Ishenin.





More information about the Lazarus mailing list