Rahul Prasad <[email protected]> writes: > I was reading about gdb and found gcc -g myprogram.c generates a a.out file > which can be debug using gdb. > But we use make to compile wget. > How do we compile wget for debugging?
Try something along the lines of make clean; make CFLAGS=-g .
