initCommon(); $template->displayHeader(); ?>

14. 开发工具

[提示] 网上最新的发行注记

These release notes may be updated. To view the latest release notes for Fedora, visit:

http://docs.fedoraproject.org/release-notes/

这一节覆盖了各种开发工具和特性。

14.1. 工具

14.1.1. GCC 编译器集合

这一版本的 Fedora 使用 GCC 4.3.0 构建,同时将其包含在发行版中。

For more information on GCC 4.3, refer to:

http://gcc.gnu.org/gcc-4.3/

14.1.1.1. 代码生成

Starting with gcc-4.1.2-25 and glibc-2.6.90-14 , the -D_FORTIFY_SOURCE=2 option protects not only C code, but also C++. There have been several security issues already which would not have been exploitable if this checking was in place earlier. Refer to this announcement:

https://www.redhat.com/archives/fedora-devel-announce/2007-September/msg00015.html for more details.

14.1.2. Eclipse

This release of Fedora includes Fedora Eclipse, based on the Eclipse SDK version 3.3.0. You can read the "New and Noteworthy" page for the 3.3.x series of releases can be accessed at:

http://download.eclipse.org/eclipse/downloads/drops/R-3.3-2007-06251500/whatsnew/eclipse-news.html

Release notes specific to 3.3.0 are available at:

http://www.eclipse.org/eclipse/development/readme_eclipse_3.3.html

The Eclipse SDK is known variously as "the Eclipse Platform," "the Eclipse IDE," and "Eclipse." The Eclipse SDK is the foundation for the combined release of twenty-one Eclipse projects under the Callisto combined release umbrella:

http://www.eclipse.org/europa

A few of these Europa projects are included in Fedora:

Fedora 中其他 Eclipse 项目有:

Assistance in getting more projects packaged and tested with GCJ is always welcome. Contact the interested parties through fedora-devel-java-list and/or #fedora-java on freenode:

http://www.redhat.com/mailman/listinfo/fedora-devel-java-list/

Fedora also includes plugins and features that are particularly useful to FLOSS hackers, ChangeLog editing with eclipse-changelog , and Bugzilla interaction with eclipse-mylyn-bugzilla . Our CDT package, eclipse-cdt , includes a snapshot release of work to integrate with the GNU Autotools.

The latest information regarding these projects can be found at the Fedora Eclipse Project page:

http://sourceware.org/eclipse/

14.1.2.1. 未打包的插件/特性

Fedora Eclipse 包含一个补丁,允许非 root 用户使用更新管理器(Update Manager),安装未打包的插件和特性。这些插件将安装到用户的个人目录中,.eclipse 目录下。请注意这些插件没有相应的 GCJ 已编译代码,因此会运行得慢些。

14.1.2.2. 另一种可选的 Java 运行时环境

Fedora 的自由 JRE 并不能满座所有用户的需求,因此 Fedora 允许安装其他可选用的 JRE 。但是对在64位机上安装专有的 JRE 有一项限制。

x86_64 Fedora 系统默认安装的 64 位 JNI 库不能在 32 位 JRE 中运行,换句话说,就是不要在 Sun 的 32 位 JRE 上运行 64 位的 Eclipse 软件包,它们会莫名其妙地出错。如果要运行,或者切换到 64 位专有 JRE,或者安装 32 位的 Eclipse。要安装 32 位的版本,运行命令:

yum install <package_name>.i386 

同样,ppc64 系统默认的 32 位 JNI 库不能在 64 位 JRE 中运行。要安装 64 位版本,执行下面的命令:

yum install <package_name>.ppc64 

14.2. KDE 4 开发平台

Fedora 9 includes KDE 4.0 (beta) development libraries. The following new packages are provided:

  • kdelibs4 : KDE 4 libraries

  • kdepimlibs : KDE 4 PIM libraries

  • kdebase4 : KDE 4 core runtime files

在 KDE 3 或任何其他桌面环境中,可以使用这些软件包来开发、构建和运行 KDE 4 应用程序。

The kdebase4 package also includes a beta version of the Dolphin file manager as a technology preview. As this is a beta version, some issues may still be present. If you need a stable version of Dolphin, please install the d3lphin package, which is based on KDE 3 and can be safely installed alongside kdebase4 .

这些软件包被设计用来:

  • 满足文件系统层次结构标准(FHS),以及

  • 安全地与 KDE 3 并行安装,包括 -devel 软件包。

为达到这个目标,Fedora KDE SIG 成员向 -devel 软件包做出如下修改:

  • 库符号链接被安装到 /usr/lib/kde4/devel/usr/lib64/kde4/devel,取决于系统体系。

  • 工具 kconfig_compilermakekdewidgets 被更名为 kconfig_compiler4makekdewidgets4

这些改变对大多数使用 cmake 编译的 KDE 4 应用程序来说是完全不可见的,因为 FindKDE4Internal.cmake 已经被修改以匹配上述改变。

注意 kdebase4 不包含 KDE 4 桌面软件包 kdebase-workspacePlasmaKWin 第四版等组件。kdebase-workspace 软件包仍然很不完整,无法作为日常应用,也与 KDE 3 冲突。

displayFooter('$Date: 2008/04/06 10:46:28 $'); ?>