Prerequisites for GCC.doc

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Prerequisites for GCC

Prerequisites for GCC 安装GCC的先决条件 GCC requires that various tools and packages be available for use in the build procedure. Modifying GCC sources requires additional tools described below. 要成功地编译GCC程序需要有很多的工具和支持包,如果要修改这些GCC的源代码需要再增加下面的工具。 Tools/packages necessary for building GCC 安装GCC需要的工具/支持包 ISO C90 compiler Necessary to bootstrap GCC, although versions of GCC prior to 3.4 also allow bootstrapping with a traditional (KR) C compiler. 需要引导GCC,尽管3.4版本的GCC可以用传统的C编译器引导。 To build all languages in a cross-compiler or other configuration where 3-stage bootstrap is not performed, you need to start with an existing GCC binary (version 2.95 or later) because source code for language frontends other than C might use GCC extensions. 为了用交叉编译引导编译所有的语言,你需要运行gcc程序(版本2.95或者这以后的版本)因为源代码使用C可能需要GCC的延伸功能。 GNAT In order to build the Ada compiler (GNAT) you must already have GNAT installed because portions of the Ada frontend are written in Ada (with GNAT extensions.) Refer to the Ada installation instructions for more specific information. 为了编译Ada编译器(GNAT),你的机器上必须已将安装了GNAT。因为编译Ada前面的一部分需要用到Ada(GNAT的扩展程序)。请参考Ada安装说明以获得更多的信息。 A “working” POSIX compatible shell, or GNU bash 一个可以工作的POSIX shell,或者是GNU bash Necessary when running configure because some /bin/sh shells have bugs and may crash when configuring the target libraries. In other cases, /bin/sh or ksh have disastrous corner-case performance problems. This can cause target configure runs to literally take days to complete in some cases. 因为一些/bin/sh shells有些漏洞,也许当运行这些目标文件时会引起系统崩溃。 So on some platforms /bin/ksh is sufficient, on others it isnt. See the host/target specific instructions for your platform, or use bash to be sure. Then set CONFIG_SHELL in your environment to your “good” shell prior to running configure/make. zsh is not a fully compliant POSIX shell and will not work when configuring GCC. A POSIX or SVR4 awk A POSIX或SVR4 awk Necessary for creating some of the generated source files for GCC. If in doubt, use a recent

文档评论(0)

af60068 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档