Mac下安装gcc

  1. 控制台执行:安装homebrew
    /bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”
  2. 安装gcc
    brew install gcc@8

你可能感兴趣的:(C++)