This article is automatically synchronized by Tencent Cloud + Community, the original address is http://blogtest.stackoverflow.club/update-gcc-in-centos/
When I needed to compile a github project, I was suddenly prompted that gcc does not support c++11 features. Then I looked at the gcc version and it turned out to be 4.8.5? Upgrade decisively, but there seems to be no updated version in the software source, so I can only download the source code and compile it myself.
The detailed compilation process can be found in 1. According to this process, it succeeded! So there is not much to talk about, just send out four of the packages, these four packages are indeed not easy to collect. See 2
Reference:
Recommended Posts