如何使用Eclipse + CDT + MinGW更改优化级别? [英] How to change the optimization level with Eclipse + CDT + MinGW?
本文介绍了如何使用Eclipse + CDT + MinGW更改优化级别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在用Eclipse + CDT + MinGW编写一些C代码。
I am writing some C code with Eclipse + CDT + MinGW.
编译输出始终显示:
Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o Math.o "..\\Math.c"
如何更改-O0,-Wall等命令行参数?
How can I change the command line parameters such as -O0, -Wall?
(我是Eclipse IDE的新手。)
(I am new to Eclipse IDE.)
推荐答案
对于GCC ,则设置位于项目属性=> C / C ++ Build =>设置=> GCC C编译器=>优化中。
For GCC, the setting is in project properties => C/C++ Build => Settings => GCC C Compiler => Optimization.
这篇关于如何使用Eclipse + CDT + MinGW更改优化级别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文