Hello Edans,

On Sun, 13 Mar 2005 16:38:57 -0300 "Edans Flavius de O. Sandes"
<[EMAIL PROTECTED]> wrote:

> hello all.
> 
> I'm new at this list, and i would like to know how do you all compile licq 
> with gdb support. Actually, i can achieve that by hacking the makefile 
> setting "g++ -g". But is there any more interesting method? I have tried 
> CFLAGS/CXXFLAGS = "-g", but the make utility seens to ignore that.

Sorry, only answering to one of your questions..

In short: pass --enable-debug to ./configure wherever you need (in licq/, in
licq-plugins/qt-gui, etc.).

Do not `make install-strip` or either strip the binaries manually (anyway this
should not be done automatically if you specify --enable-debug). The generated
binaries (program and libs) will be bigger, and include debug info that gdb
can use to trace the program as well as get a backtrace in case of program
error. For more information: ./configure --help.


Regards,

-- 
wwp



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to