问题一、
./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++