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

2012-12-28 Thread leledumbo
Or add -g- as well (it will override -gl) -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-debugging-and-strip-strip-all-lazarus-startlazarus-tp4028281p4028288.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com

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

2012-12-28 Thread Sven Barth
On 28.12.2012 10:33, leledumbo wrote: Or add -g- as well (it will override -gl) But then it will disable the generation of debug information for the LCL (or doesn't it?) which does not seem like something the user wants. Regards, Sven -- ___

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

2012-12-27 Thread John Landmesser
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

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

2012-12-27 Thread Sven Barth
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

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

2012-12-27 Thread Mattias Gaertner
On Thu, 27 Dec 2012 18:53:47 +0100 John Landmesser joh...@online.de 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? No.

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

2012-12-27 Thread Vincent Snijders
2012/12/27 Sven Barth pascaldra...@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

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

2012-12-27 Thread Sven Barth
On 27.12.2012 19:18, Vincent Snijders wrote: 2012/12/27 Sven Barth pascaldra...@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.