./configure with a specified version of g++

老子叫甜甜 提交于 2019-12-03 02:37:54

In a bash shell you can do something like this:

CC=gcc-2.95 ./configure

There will be similar techniques for other shells but I couldn't help you with the specifics. If your project is C++ the variable you need to define is CXX.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!