Centos

RHEL/CentOS 中對 gcc 的外掛支持?

  • January 11, 2013

無論如何在 RHEL/CentOS 中啟用或安裝對 gcc 的外掛支持?

對 GCC 的外掛支持是在4.5中添加的,因此如果不從原始碼建構更新版本的 GCC 或不使用devtoolset ,則它在 RHEL 5 和 6 中不可用。

此外,還創建了一個分支以將外掛支持反向移植到 gcc 4.4,但我不確定該建構的狀態是什麼,並且它似乎不能作為 CentOS/RHEL 的 RPM 使用。

15:13 [root:~]# yum search gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: 
* extras: 
* rpmforge: 
* updates: 
===================================================== N/S Matched: gcc ======================================================
compat-libgcc-296.i686 : Compatibility 2.96-RH libgcc library
gcc-c++.i686 : C++ support for GCC
gcc-gnat.i686 : Ada 95 support for GCC
gcc-java.i686 : Java support for GCC
gcc-objc.i686 : Objective-C support for GCC
gcc-objc++.i686 : Objective-C++ support for GCC
libgcc.i686 : GCC version 4.4 shared support library
compat-gcc-34.i686 : Compatibility GNU Compiler Collection
compat-gcc-34-c++.i686 : C++ support for compatibility compiler
compat-gcc-34-g77.i686 : Fortran 77 support for compatibility compiler
gcc.i686 : Various compilers (C, C++, Objective-C, Java, ...)
gcc-gfortran.i686 : Fortran support
libgcj.i686 : Java runtime library for gcc
libgcj-devel.i686 : Libraries for Java development using GCC
libgcj-src.i686 : Java library sources from GCC4 preview
libgomp.i686 : GCC OpenMP v3.0 shared support library
libmudflap.i686 : GCC mudflap shared support library
libmudflap-devel.i686 : GCC mudflap support

引用自:https://unix.stackexchange.com/questions/60420