debug build

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

 



Klaus Darilion wrote:
>>> Sorry - I'm not a Makefile expert - how can I build with debug symbols?
>> Please see:
>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2007-November/000801.html
> 
> ok. now I am confused: what does "-DNDEBUG" mean? Does it enable or 
> disable debug mode?
> 
> Docs say that default build are "release" builds. So, how do I enable 
> debug builds?

Ah, sorry, actually the example shows the opposite, that is to build 
the "release build". I just wanted to point out that ./configure 
currently does not accept CFLAGS customization, but ./aconfigure does.

So to enable "debug" build, I guess you could do:

   ./aconfigure CFLAGS='-g'

cheers,
  -benny


> thanks
> klaus




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux