Hi. I'm trying to build cURLwith the -g compiler option for enhanced debugging. cc's man page says that compiling with -g produces additional symbol table information for dbx.
But I'm not sure how to do build cURL with the -g flag. I'm on Solaris machine running SunOS 5.10. Trying to build Curl 7.21.3 This is what I attempted: I set the environment variable CFLAGS=-g, then ran configure (which completed), then did make. But the compilation of the files doesn't include the -g flag as I had expected. It looks the same as it did without the CFLAGS environment variable set. Here is an example of a file being compiled: cc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -I/usr/local/ssl/include -I/home/myCurlLibs/include -s -xO2 -c file.c -KPIC -DPIC -o .libs/file.o There is no "-g" in there. How to get it in? - Saqib
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
