保留dev-c++编译出的obj等文件
在调用gcc时,加上save-temps参数即可。
gcc -save-temps hello.c
编译过程中生成的.s .o .i 都会保留。
通过以下方法可设置dev-c++开发环境的编译参数:
1,Tools->Compiler Options

2,在Compiler Options对话框的General标签卡中,选中Add the following commands where calling the compiler,输入“-save-temps”。

评论已关闭