如何使用多个版本的GCC [英] How to use multiple versions of GCC

查看:118
本文介绍了如何使用多个版本的GCC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个新的应用程序需要glibc 2.4(从gcc 4.1)。我们运行的机器有gcc 3.4.6。我们无法升级,应用程序必须在此计算机上运行。

We have a new application that requires glibc 2.4 (from gcc 4.1). The machine we have runs on has gcc 3.4.6. We can not upgrade, and the application must be run on this machine.

我们安装了gcc 4.1,然而,当涉及到编译时,它使用了所有的包括,从3.4.6。

We installed gcc 4.1, however, when it comes to compile time it is using all the includes, etc, from 3.4.6.

我们如何解决这个问题?

How do we get around this?

>

推荐答案

请参阅如何安装GCC的多个版本此处在GNU GCC常见问题中。

Refer "How to install multiple versions of GCC" here in the GNU GCC FAQ.

还有一份白皮书这里

这篇关于如何使用多个版本的GCC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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