1

I installed the GCC 4.8.2 a couple of weeks ago. The installation process went well and I have GCC 4.8.2 at my Ubuntu system (12.04 64 bits). Now GNU just released the newer version 4.9.0.

My question is: Is there any way to upgrade my GCC to 4.9.0 without doing all process: configuration, building, checking and installation from scratch? Also, please tell me what is the benefit/purpose of gcc-4.8.2-4.9.0.diff.gz file? Is it like script/patch file to upgrade my compiler?

FYI, I don't have any plan to have two different versions of GCC at my system.

4

1 回答 1

2

我的问题是:有没有什么方法可以将我的 GCC 升级到 4.9.0 而无需执行所有过程:配置、构建、检查和从头开始安装?

是的,如果你已经建立了它。不,如果你只有来源。

另外,请告诉我 gcc-4.8.2-4.9.0.diff.gz 文件的好处/目的是什么?

阅读实用程序手册以patch了解如何应用它。您可以使用此差异将 4.8.2 源转换为 4.9.0 源。

是否像脚本/补丁文件来升级我的编译器?

是的,但它的来源。所以还是需要建设的。

您的项目真的需要 4.9 的新功能吗?

于 2014-04-23T13:51:42.403 回答