gcc/gdb: How to embed absolute path to source file in debug information?

前端 未结 2 1120
说谎
说谎 2021-02-08 13:13

i am just wondering if i can tell gcc to embed the absolute path to a source file in the debug information, even if i call gcc like

gcc -g ../src/somecode.c -o .         


        
2条回答
提交回复
热议问题