1 2 3 4 5 |
# yum install centos-release-scl # yum install devtoolset-7-gcc* # scl enable devtoolset-7 bash # which gcc # gcc --version |
1 2 3 4 |
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 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. |
—
2,862 total views, 2 views today