ubuntu 安装 GCC 和 G++ C++ 开发环境
2016-01-07 19:03
387 查看
1.先安装 :sudo apt-get install build-essential
2.查看 gcc 版本 然后安装 统一版本的 g++
gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3 安装 g++
sudo apt-get install g++-4.4
4查看安装版本
g++ --version
g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2.查看 gcc 版本 然后安装 统一版本的 g++
gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3 安装 g++
sudo apt-get install g++-4.4
4查看安装版本
g++ --version
g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
相关文章推荐
- 新手学习C++笔记6:头文件和析构函数
- POJ 1007_DNA Sorting
- C语言之理解main 参数意义
- c++ 与C#比较
- 分享C++/C如何开机自动启动代码和c的改错题
- C++ 键盘钩子
- C语言socket 蓝牙文件传输
- 一般PID的C语言实现
- 利用ucontext.h中接口实现用户级别线程库
- C++在Win32中重定向输出数据到控制台
- C++11:std::move和std::forward源码分析
- [C/C++]函数如何返回struct或class对象
- c++11智能指针解析——揭开底层面纱,完整理解智能指针
- C++ 输入输出运算符重载
- 贪吃蛇改进版
- C++的fill函数和memset函数
- C++ #,##,stdin,stdout,stderr
- Caffe C++API 提取任意一张图片的特征系列一----ImageData
- C和C++中存储区域详解(栈、堆、全局...)
- C语言:从文本文件中读取输入数据