Wednesday, February 17, 2010

minus s




Ah tricky! I was trying to debug a file with gdb, and was using the -g flag, but gdb still would tell me "no debugging symbols found".

Turns out this was because I had accidently added the "-s" flag to LDFLAGS, which strips the executable...