centOS系统安装g++
来源:互联网 发布:nvh有限元软件 编辑:程序博客网 时间:2024/05/01 13:48
[root@localhost readDB]# g++ -bash: g++: command not found[root@localhost readDB]# gcc -v使用内建 specs。目标:x86_64-redhat-linux配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux线程模型:posixgcc 版本 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) [root@localhost readDB]# g++ -bash: g++: command not found[root@localhost readDB]# yum install g++已加载插件:fastestmirror, refresh-packagekit, security设置安装进程Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comNo package g++ available.错误:无须任何处理[root@localhost readDB]# yum install gcc-c++已加载插件:fastestmirror, refresh-packagekit, security设置安装进程Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * extras: mirrors.yun-idc.com * updates: mirrors.yun-idc.com解决依赖关系--> 执行事务检查---> Package gcc-c++.x86_64 0:4.4.7-17.el6 will be 安装--> 处理依赖关系 libstdc++-devel = 4.4.7-17.el6,它被软件包 gcc-c++-4.4.7-17.el6.x86_64 需要--> 执行事务检查---> Package libstdc++-devel.x86_64 0:4.4.7-17.el6 will be 安装--> 完成依赖关系计算依赖关系解决========================================================================================================================================================== 软件包 架构 版本 仓库 大小==========================================================================================================================================================正在安装: gcc-c++ x86_64 4.4.7-17.el6 base 4.7 M为依赖而安装: libstdc++-devel x86_64 4.4.7-17.el6 base 1.6 M事务概要==========================================================================================================================================================Install 2 Package(s)总下载量:6.3 MInstalled size: 20 M确定吗?[y/N]:y下载软件包:(1/2): gcc-c++-4.4.7-17.el6.x86_64.rpm | 4.7 MB 00:00 (2/2): libstdc++-devel-4.4.7-17.el6.x86_64.rpm | 1.6 MB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------总计 7.1 MB/s | 6.3 MB 00:00 运行 rpm_check_debug 执行事务测试事务测试成功执行事务 正在安装 : libstdc++-devel-4.4.7-17.el6.x86_64 1/2 正在安装 : gcc-c++-4.4.7-17.el6.x86_64 2/2 Verifying : gcc-c++-4.4.7-17.el6.x86_64 1/2 Verifying : libstdc++-devel-4.4.7-17.el6.x86_64 2/2 已安装: gcc-c++.x86_64 0:4.4.7-17.el6 作为依赖被安装: libstdc++-devel.x86_64 0:4.4.7-17.el6 完毕![root@localhost readDB]# g++g++: 没有输入文件[root@localhost readDB]# g++ -v使用内建 specs。目标:x86_64-redhat-linuxr-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux线程模型:posixgcc 版本 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) [END] 2016/8/15 10:25:00
0 0
- centOS系统安装g++
- 在linux CentOS系统上安装g++
- 11g静默安装 centos系统
- centOS x64系统上安装 oracle 11g R2 x64
- CentOS 安装g++
- CentOs安装g++
- CentOS下安装g++
- centos安装g++
- centos 下安装 g++
- centos 安装g++
- centOS 安装g++
- centos安装g++
- centos安装g++
- centos 下安装g++
- centos 安装 g++
- CentOS 安装g++
- CentOS GCC G++ 安装
- centos 怎么安装 g++
- Window查看apache的版本
- Linux多线程中使用信号-1
- 链式编程初试
- 解决批量mysqldump没法用通配符的问题
- 暑期dp46道(36)--HDOJ 2577
- centOS系统安装g++
- Python快速学习第七天
- Android Circular Progress Button
- android:inputType="常用取值"
- shiro安全框架的使用
- Java中的static关键字解析
- MySQL导出DUMP命令备忘
- Jmeter之逻辑控制器(Logic Controller)
- Java类集框架——Set接口和子接口SortedSet以及SortedSet接口的子类TreeSet之间的联系和使用、排序设置重复元素的说明