开发者

Gcc compiler commands and options

I am learning C language and I use code::blocks IDE to write and build C programs. It uses GNU C compiler. I learnt that there are many ways to optimize the code by tweaking the compiler settings and using compilers command. I can see many options to change compiler's setting from the menu. But I don't know how and where开发者_StackOverflow社区 to apply the compilers commands? Any help is appreciated..


Under the Settings menu, select Compiler and Debugger. Select GNU GCC Compiler at the top. Go to the Compiler Settings tab, and within that select the Compiler Flags tab. Scroll about halfway down, and you'll find all of the "-O" related options.

Gcc compiler commands and options

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜