Centos Linux
我用它运行 32 位gdb ver 7.2
。我需要更新 GDB。我在构建 GDB 8.1 时遇到以下错误:
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
checking whether g++ supports C++11 features with +std=c++11... no
checking whether g++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.
make[1]: *** [configure-gdb] Error 1
我的gcc
版本是4.4.7
.为什么不支持c++11
?
如何在 Centos 中更新 GDB?