I am trying to compile my program with debugging symbols for use in gdb. I have added the -g flag to my makefile but I still get \"Reading symbols from ...(no debugging symb
I think you need -g when linking the object into a binary code.
-g
CPP = g++ CFLAGS = -g -Wall $(BIN): $(OBJ) $(CPP) $(CFLAGS) $(OBJ) -o $(BIN) $(LDFLAGS) $(LIBS) : $(CPP) $(CFLAGS) -c -o