gcc版本4和5和6之间的差异

时间:2022-06-20 13:25:54

When downloading sources for an arm cross-compiler I found that there are several versions of gcc in maintenance. Latest builds are v4.9.4, v5.4.0 and v6.2.0.

下载arm交叉编译器的源时,我发现维护中有几个版本的gcc。最新版本为v4.9.4,v5.4.0和v6.2.0。

Why is there a v4 that is more recent than the latest release of v5 and the first release of v6 and what are the major differences between these versions?

为什么v4比最新版本的v5和v6的第一个版本更新,这些版本之间的主要区别是什么?

gcc版本4和5和6之间的差异

2 个解决方案

#1


3  

The older versions receive bug fixes only, while new features are implemented in the newer versions. From https://gcc.gnu.org/releases.html:

旧版本仅接收错误修复,而新功能则在较新版本中实现。来自https://gcc.gnu.org/releases.html:

The table is sorted by date. Note that starting with version 3.3.4, we provide bug releases for older release branches for those users who require a very high degree of stability.

该表按日期排序。请注意,从版本3.3.4开始,我们为需要高度稳定性的用户提供旧版本分支的错误发布。

If you like it graphicly (ASCII-ART): https://gcc.gnu.org/develop.html#timeline

如果你喜欢它(ASCII-ART):https://gcc.gnu.org/develop.html#timeline

#2


0  

This is not really a c++ question.

这不是一个c ++问题。

Developers are actively working on all of those versions at the same time. If one of those versions needs a bug fix then it will be patched and updated.

开发人员正在积极地同时处理所有这些版本。如果其中一个版本需要修复错误,那么它将被修补和更新。

Is that what you mean?

你是这个意思吗?

Versions 4, 5 & 6 have newer C++ features, for example, I think 5 has std++14 and 6 has std++1z (you can search google for the features in each standard)

版本4,5和6具有较新的C ++功能,例如,我认为5具有std ++ 14和6具有std ++ 1z(您可以在google中搜索每个标准中的功能)

#1


3  

The older versions receive bug fixes only, while new features are implemented in the newer versions. From https://gcc.gnu.org/releases.html:

旧版本仅接收错误修复,而新功能则在较新版本中实现。来自https://gcc.gnu.org/releases.html:

The table is sorted by date. Note that starting with version 3.3.4, we provide bug releases for older release branches for those users who require a very high degree of stability.

该表按日期排序。请注意,从版本3.3.4开始,我们为需要高度稳定性的用户提供旧版本分支的错误发布。

If you like it graphicly (ASCII-ART): https://gcc.gnu.org/develop.html#timeline

如果你喜欢它(ASCII-ART):https://gcc.gnu.org/develop.html#timeline

#2


0  

This is not really a c++ question.

这不是一个c ++问题。

Developers are actively working on all of those versions at the same time. If one of those versions needs a bug fix then it will be patched and updated.

开发人员正在积极地同时处理所有这些版本。如果其中一个版本需要修复错误,那么它将被修补和更新。

Is that what you mean?

你是这个意思吗?

Versions 4, 5 & 6 have newer C++ features, for example, I think 5 has std++14 and 6 has std++1z (you can search google for the features in each standard)

版本4,5和6具有较新的C ++功能,例如,我认为5具有std ++ 14和6具有std ++ 1z(您可以在google中搜索每个标准中的功能)