Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
wget http://memcached.org/latest
tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure
make && make test
sudo make install

Here's the step to build/install memcached,but how to build it with debug symbols so that I can use gdb ?

share|improve this question
1  
if you run ./configure --help does it give any hint to a --debug argument? –  Tom O'Connor Mar 30 '11 at 8:47
    
Failing that, you could always set -ggdb as one of your CFLAGS before compiling... –  Tom O'Connor Mar 30 '11 at 8:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.