'commit'
This commit is contained in:
6
RuMenJingDian/Others/gcc编译并下断点.txt
Normal file
6
RuMenJingDian/Others/gcc编译并下断点.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
gcc -o swap.exe swap.c -std=c99 -g
|
||||
|
||||
g++ -o swap.exe swap.cpp -std=c++11 -g
|
||||
|
||||
|
||||
加上-g 选项,会保留代码的文字信息,便于调试下面两幅图是有无 -g 选项调试的区别
|
||||
Reference in New Issue
Block a user