codeblocks如何设置编译器
2015-06-05 11:37
218 查看
其实codeblocks设置编译器很简单,没有我们想象的那么复杂,我在这个问题上面走了一趟弯路,于是觉得有必要在这里记录一下下。
首先,gcc , g++ 是一定要装的,为了调试方便,GDB debugger也是一定要装的,接下来就要设置他们了。
Settings -> Compiler -> Selected Compiler要选择 GNU GCC Compiler (我第一次选的Intel C++ Compiler,结果错的海深),在下面的 Toolchain executables 里面 , Compiler's Installation directory,选择 gcc,g++所在的文件夹(或者,如果系统能够auto-detect的话,我们就不用自己设置了),确保C
Compiler 是 gcc , C++ Compiler 是 g++,Debugger是 GDB debugger。
做完这些之后,重启codeblocks,新建一个project,写一个c++的helloWorld程序,build -> run ,成功!
首先,gcc , g++ 是一定要装的,为了调试方便,GDB debugger也是一定要装的,接下来就要设置他们了。
Settings -> Compiler -> Selected Compiler要选择 GNU GCC Compiler (我第一次选的Intel C++ Compiler,结果错的海深),在下面的 Toolchain executables 里面 , Compiler's Installation directory,选择 gcc,g++所在的文件夹(或者,如果系统能够auto-detect的话,我们就不用自己设置了),确保C
Compiler 是 gcc , C++ Compiler 是 g++,Debugger是 GDB debugger。
做完这些之后,重启codeblocks,新建一个project,写一个c++的helloWorld程序,build -> run ,成功!
相关文章推荐
- p124 43
- C#序列化与反序列化(Serialize,Deserialize)实例详解
- [Erlang]在线学习资源
- 给某用户赋予跨数据库的执行存储过程权限
- 分页查询
- 第三章第41题
- 写手机页面的准备工作
- Windows版iCloud怎么下载使用?
- iOS开发-widget基础
- [学习记录]简单的异步操作
- Unity 5.0 IL2CPP
- hdu 1429 胜利大逃亡(续)(BFS+位压缩)
- 关于new Handler().postDelayed()
- 使用GPUImage渲染图片教程
- hdu 1429 胜利大逃亡(续)(BFS+位压缩)
- javascript实现倒计时并弹窗提示特效
- win7、win8.1怎么取消升级win10的系统提示
- 正确地在QML应用中使用fontsize
- Objective-C Runtime 运行时之三:方法与消息
- ZigZagConversion