

$ # Optionally permanently enable GCC 8 / Clang/LLVM 6.0 $ scl enable devtoolset-8 llvm-toolset-6.0 bash # yum install llvm-toolset-6.0-clang-analyzer llvm-toolset-6.0-clang-tools-extra # optional # yum install devtoolset-8 llvm-toolset-6.0 # subscription-manager repos -enable rhel-7-server-optional-rpms \ Optional: Permanently enable GCC 8 and Clang 6 by adding scl_source to your.


If you want your default gcc to always be GCC 8, or you want clang to always be in your path, this article shows how to permanently enable a software collection by adding it to the profile (dot files) for your user account. You'll be able to use the same updated (and supported) compilers from Red Hat on both RHEL 7 and 8. This article shows you how to install GCC 8 as well as Clang/LLVM 6 on Red Hat Enterprise Linux 7.

Red Hat Enterprise Linux 8 Beta ships with GCC 8 as the default compiler. A number of articles have been posted by Red Hat engineers working on the compilers themselves covering usability improvements, features to detect possible bugs, and security issues in your code. There has been a lot of work to improve C/C++ compilers in recent years.
