./configure 指定版本的 g++ [英] ./configure with a specified version of g++
本文介绍了./configure 指定版本的 g++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何告诉配置"文件使用指定版本的 g++ 进行编译?
How to tell to a 'configure' file to compile with a specified version of g++ ?
谢谢.
推荐答案
在 bash shell 中,您可以执行以下操作:
In a bash shell you can do something like this:
./configure CC=gcc-2.95
其他 shell 也会有类似的技术,但我无法帮助您了解具体细节.如果您的项目是 C++,则您需要定义的变量是 CXX
.
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
.
这篇关于./configure 指定版本的 g++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文