问题描述
gcc --version:
gcc (GCC) 5.3.0
copyright (C) 2015 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.
gcc-devtoolset --version:
gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
copyright (C) 2015 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.
解决方法
开发人员工具集专为在 CentOS 或 Red Hat Enterprise Linux 平台上工作的开发人员而设计。它提供了 GNU Compiler Collection、GNU Debugger 以及其他开发、调试和性能监控工具的当前版本。