DragonFly BSD
DragonFly users List (threaded) for 2005-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Is debug enabled in userland?


From: joerg@xxxxxxxxxxxxxxxxx
Date: Thu, 24 Nov 2005 12:15:10 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Wed, Nov 23, 2005 at 05:00:46PM -0800, walt wrote:
> 
> The second kind of debugging is very different.  If you compile programs
> using the -g compiler flag, the resulting executables will be a bit bigger
> because the 'debugging symbols' will be included as part of the final
> executable file.  This does *not* slow down your system because *no* extra
> code is executed while the program is running.  The only cost to you is a
> bit of extra disk space, which is cheap these days.

Try DEBUG_FLAGS=-g.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]