CentOS6.6升级Gcc4.9.2相关问题及解决办法

来源:互联网 发布:数据挖掘用什么语言 编辑:程序博客网 时间:2024/06/08 04:15

问题一、

./configure

----------------------------------------------------------------------------------

checking for objdir... .libs
configure: WARNING: using in-tree ISL, disabling version check
configure: WARNING: using in-tree CLooG, disabling version check
*** This configuration is not supported in the following subdirectories:
     gnattools target-libada target-libgfortran target-libgo target-libffi target-libbacktrace target-zlib target-libjava target-libobjc target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug


make

----------------------------------------------------------------------------------
checking dependency style of g++... none
configure: error: no usable dependency style found
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory `/home/ouyang/Downloads/files/gcc-4.9.2/gcc-build-4.9.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ouyang/Downloads/files/gcc-4.9.2/gcc-build-4.9.2'
make: *** [all] Error 2


解决办法

----------------------------------------------------------------------------------

yum install gcc-c++

0 0