将编译器添加到code :: blocks [英] Adding compiler to code::blocks
问题描述
来自此处我已经下载了最新版的GCC,即4.6。
如何我将此编译器添加到我的代码:: blocks中。
From here I've downloaded newest release of GCC, namely 4.6.
How can I add this compiler to my code::blocks?
推荐答案
转到设置菜单,然后点击编译器和调试器:
Go to the Settings menu and hit Compiler and Debugger:
转到复制,并将新的编译器命名为GCC 4.6或任何您想要的名称。转到工具链可执行文件选项卡,然后填写目录名称。我认为所有.exe文件都应命名为同一名称。确保并复制将链接器设置从一个粘贴到另一个。现在,编译器标题将出现在所有对话框中。我不完全确定如何将新列表移到列表中,因此这是默认列表。
Go to Copy, and name the new compiler GCC 4.6 or whatever you'd like. Go to the Toolchain Executables tab, and fill in the directory name. I think all of the .exe's should be named the same thing. Make sure and copy paste your linker settings from one to the other. Now that compiler title will appear in all of the dialog boxes. I'm not entirely sure how to move the new one up the list so it's the default.
这篇关于将编译器添加到code :: blocks的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!