Support for C++ compilers

General support questions
Post Reply
eddiener
Posts: 121
Joined: 2009/08/18 18:50:42

Support for C++ compilers

Post by eddiener » 2018/03/23 22:26:07

I know CentOS7 is not the most up to date OS, but the gcc compiler support is 4.8.5 and the clang compiler support is 3.4.2. These are ancient versions. Gcc latest release is 7.3 and clang latest release is 6.0, with gcc 8.0 and clang 7.0 in the pipellines. Will CentOS7 ever be moving on to support later releases of gcc and.or clang ?

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Support for C++ compilers

Post by jlehtone » 2018/03/24 00:32:33

CentOS would move, if RHEL would. It won't. Software Collections do provide a workaround.

CentOS repositories have package 'centos-release-scl-rh'. It brings in repository that has
"Software collections from the CentOS SCLo SIG (upstream scl only)" packages.
Those include gcc-7.2.1.

Code: Select all

yum install centos-release-scl-rh
yum install devtoolset-7-toolchain
https://access.redhat.com/documentation ... ct-gcc-cpp

Post Reply