cURL / Mailing Lists / curl-library / Single Mail

curl-library

Enable debug symbols but disable memdebug etc

From: Gokhan Sengun <gokhansengun_at_gmail.com>
Date: Thu, 12 Apr 2012 10:53:59 +0300

Hello Folks,

I would like to have debug symbols (-g option) in my libcurl build and want
to avoid CURLDEBUG define because I do not want to have memdebug etc.

--enable-debug configure command does not do it for me since it includes
both (debug symbols + CURLDEBUG)

I tried to pass it with

CFLAGS="-g" CPPFLAGS="-g" ./configure

but it did not help.

Please advice on how to do it.

Thanks.

-- 
it is twice as difficult to debug a program as to write it. Therefore, if
you put all of your creativity and effort into writing the program, you are
not smart enough to debug it.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-12