I\'m trying to compile a program with debugging symbols so that valgrind will give me line numbers. I have found that if I compile a simple test program in one go (with -g) then
Just for marking this question as "answered" (so it's not needlessly opened and read by others).
=> Answer is found as the comment from "user1288111" to the initial question.