Skip to content

运行命令时,指定 GCC 版本

以指定cmake时的CC和CXX为例:

bash
env CC=gcc-9 CPP=g++-9 CXX=g++-9 LD=g++-9 cmake .

Released under the MIT License.