./configure与指定版本的g ++ [英] ./configure with a specified version of g++

查看:189
本文介绍了./configure与指定版本的g ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何告诉一个'configure'文件用指定版本的g ++编译?



谢谢。



  CC =>   gcc-2.95 ./configure 

其他shell会有类似的技巧,但我无法帮到你具体细节。如果您的项目是C ++,您需要定义的变量是CXX。


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:

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.

这篇关于./configure与指定版本的g ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆