yum install centos-release-scl
yum-config-manager --enable rhel-server-rhscl-9-rpms
yum install devtoolset-9
scl enable devtoolset-9 bash
ln -s /opt/rh/devtoolset-9/root/bin/gcc /usr/bin/gcc
ln -s /opt/rh/devtoolset-9/root/bin/g++ /usr/bin/g++
ln -s /opt/rh/devtoolset-9/root/bin/c++ /usr/bin/c++
A compiler with support for C++14 language features is required
最新推荐文章于 2023-10-16 14:17:38 发布