gcc –g –o test.o test.c -g有什么作用

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/06 10:24:31
gcc –g –o test.o test.c -g有什么作用
x)KONVx09D+Adgs:nx9ϧI*'Q~ 9+<۾iԤt'>k\QxgڋNy^ ԮbCSm @ٻt

gcc –g –o test.o test.c -g有什么作用
gcc –g –o test.o test.c -g有什么作用

gcc –g –o test.o test.c -g有什么作用
-g 添加 debug 信息,加有 -g 编译后,程序可以用 gdb 调试