What gcc versions are available in Red Hat Enterprise Linux?

本文概述了Red Hat Enterprise Linux不同版本中可用的GCC版本,包括主要编译器包、向后兼容性包和预览包,适用于RHEL3至RHEL7,以及Red Hat Developer Toolset提供的最新GCC版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://access.redhat.com/solutions/19458

What gcc versions are available in Red Hat Enterprise Linux?

 SOLUTION 已验证 - 已更新 2018年十一月13日21:21 - 

English 

环境

  • Red Hat Enterprise Linux 3
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Developer Toolset (DTS)

问题

  • What gcc versions and versions of the C++ standard runtime library are available in Red Hat Enterprise Linux?

决议

Primary compiler packages

  • The following gcc packages are available as the default compiler:
    • RHEL7 : gcc 4.8.x
    • RHEL6 : gcc 4.4.x
    • RHEL5 : gcc 4.1.x
    • RHEL4 : gcc 3.4.x
    • RHEL3 : gcc 3.2.x
    • DTS8 : gcc 8.2.x
    • DTS7 : gcc 7.2.x
    • DTS6 : gcc 6.2.x
    • DTS4 : gcc 5.2.x, 5.3.x
    • DTS3 : gcc 4.9.x
    • DTS2 : gcc 4.8.x
    • DTS1 : gcc 4.7.x

Compiler backward compatibility packages

Compatibility packages are available to provide build compatibility with code designed to be built under earlier releases:

  • RHEL7:
    • compat-gcc-44 (gcc 4.4.7 for compatibility with code designed to be built under RHEL6)
  • RHEL6:
    • compat-gcc-34 (gcc 3.4 for compatibility with code designed to be built under RHEL4)
  • RHEL5:
    • compat-gcc-34 (gcc 3.4 for compatibility with code designed to be built under RHEL4)
  • RHEL4:
    • compat-gcc-32 (gcc 3.2 for compatibility with code designed to be built under RHEL3)
  • RHEL3:
    • compat-gcc   (gcc-2.96.x compatible)

Runtime backward compatibility packages

Compatibility packages are available to provide runtime compatibility for binary C++ code that was built under earlier releases:

  • RHEL7:
    • compat-libstdc++-33 (g++ 3.3.x compatible)
  • RHEL6:
    • compat-libstdc++-33 (g++ 3.3 compatible)
    • compat-libstdc++-296 (g++ 2.96.x compatible)
  • RHEL5:
    • compat-libstdc++-33 (g++ 3.3 compatible)
    • compat-libstdc++-296 (g++ 2.96.x compatible)
  • RHEL4:
    • compat-libstdc++-33 (g++ 3.3 compatible)
    • compat-libstdc++-296 (g++ 2.96.x compatible)

Preview packages for forward compatibility testing

Packages of newer gcc versions may be available to facilitate testing of code for compatibility with forthcoming releases:

  • RHEL6: Refer to "Red Hat Developer Toolset" under "Comments" below.
  • RHEL5.8 and later: gcc44 (gcc 4.4, fully supported; see the release notes) . Refer to "Red Hat Developer Toolset" under "Comments" below as well.
  • RHEL5.6 and later: gcc44 (gcc 4.4, fully supported; see the release notes)
  • RHEL5.4 and later: gcc44 (gcc 4.4 Technology Preview; see the release notes)
  • RHEL5.3 and later: gcc43 (gcc 4.3 Technology Preview; see the release notes)

Comments

Using compatibility and preview gcc packages

The compatibility and preview gcc packages provide the compiler binaries under a name that incorporates the version number. For instance, to compile code on Red Hat Enterprise Linux 5.4 using the gcc 4.4 Technology Preview packages, call the compiler as gcc44. When building code that uses a "configure" script, this is best done at configure time:

Raw

# env CC=/usr/bin/gcc44 CXX=/usr/bin/g++44 ./configure ...

Red Hat Developer Toolset

Red Hat provides another option via the Red Hat Developer Toolset.

With the developer toolset, developers can choose to take advantage of the latest versions of the GNU developer tool chain, packaged for easy installation on Red Hat Enterprise Linux. This version of the GNU development tool chain is an alternative to the toolchain offered as part of each Red Hat Enterprise Linux release. Of course, developers can continue to use the version of the toolchain provided in Red Hat Enterprise Linux.

The developer toolset gives software developers the ability to develop and compile an application once to run on multiple versions of Red Hat Enterprise Linux (such as Red Hat Enterprise Linux 5 and 6). Compatible with all supported versions of Red Hat Enterprise Linux, the developer toolset is available for users who develop applications for Red Hat Enterprise Linux 5 and 6. Please see the release notes for support of specific minor releases.

Unlike the compatibility and preview gcc packages provided with RHEL itself, the developer toolset packages put their content under a /opt/rhpath. The scl ("Software CoLlections") tool is provided to make use of the tool versions from the Developer Toolset easy while minimising the potential for confusion with the regular RHEL tools.

Red Hat provides support to Red Hat Developer Tool Set for all Red Hat customers with an active Red Hat Enterprise Linux Developer subscription.

You will need an active Red Hat Enterprise Linux Developer subscription to gain access to Red Hat Developer Tool set.

For further information on Red Hat Developer Toolset, refer to the relevant release documentation:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/.

For further information on Red Hat Enterprise Linux Developer subscription, you may reference the following links:
Red Hat Discussion
Red Hat Developer Toolset Support Policy

内容概要:本书《Deep Reinforcement Learning with Guaranteed Performance》探讨了基于李雅普诺夫方法的深度强化学习及其在非线性系统最优控制中的应用。书中提出了一种近似最优自适应控制方法,结合泰勒展开、神经网络、估计器设计及滑模控制思想,解决了不同场景下的跟踪控制问题。该方法不仅保证了性能指标的渐近收敛,还确保了跟踪误差的渐近收敛至零。此外,书中还涉及了执行器饱和、冗余解析等问题,并提出了新的冗余解析方法,验证了所提方法的有效性和优越性。 适合人群:研究生及以上学历的研究人员,特别是从事自适应/最优控制、机器人学和动态神经网络领域的学术界和工业界研究人员。 使用场景及目标:①研究非线性系统的最优控制问题,特别是在存在输入约束和系统动力学的情况下;②解决带有参数不确定性的线性和非线性系统的跟踪控制问题;③探索基于李雅普诺夫方法的深度强化学习在非线性系统控制中的应用;④设计和验证针对冗余机械臂的新型冗余解析方法。 其他说明:本书分为七章,每章内容相对独立,便于读者理解。书中不仅提供了理论分析,还通过实际应用(如欠驱动船舶、冗余机械臂)验证了所提方法的有效性。此外,作者鼓励读者通过仿真和实验进一步验证书中提出的理论和技术。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值