开发者

./configure with a specified version of g++

开发者 https://www.devze.com 2022-12-26 05:51 出处:网络
How 开发者_开发技巧to tell to a \'configure\' file to compile with a specified version of g++ ?

How 开发者_开发技巧to tell to a 'configure' file to compile with a specified version of g++ ?

Thanks.


In a bash shell you can do something like this:

./configure CC=gcc-2.95

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消