目 录CONTENT

文章目录

CentOS7 安装c++17

过客
2021-07-30 / 0 评论 / 0 点赞 / 5 阅读 / 0 字

在linux时编译c++时,需要安装对应的编译环境。

安装 devtoolset-7 工具包,并执行 scl enable devtoolset-7 bash就可以安装c++17环境

yum install centos-release-scl
yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install devtoolset-7
scl enable devtoolset-7 bash
0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区