是否有办法在 RHEL/CentOS 中启用或安装 gcc 插件支持?
答案1
添加了对 GCC 的插件支持4.5因此,如果不从源代码构建较新版本的 GCC 或不使用开发工具集。
此外,还设立了一个分支机构向后移植插件支持 gcc 4.4,但我不确定该构建的状态是什么,并且它似乎无法作为 CentOS/RHEL 的 RPM 提供。
答案2
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