解析GCC移植机制.PDFVIP

  • 10
  • 0
  • 约1.38万字
  • 约 9页
  • 2019-10-26 发布于湖北
  • 举报
复旦大学 政学者论文集 2002 解析GCC 的移植机制 林 丹 摘 要: 设计一个新的编译器往往需要几年的时间 因此我们希望能找到一种缩短开发时间的方法 修改 已有的编译器就是一种有效的手段 本文讨论的是GNU C 编译器的移植 GNU C 编译器自身有许多符合 移植的特点 如 支持不同系统的配置文件 详尽的文档 公开的源代码等 文中介绍了GNU C 编译器系 统的移植机制 主要包括机器描述tm.h 和md 文件 同时通过以i386 为例具体说明了移植的步骤以及移植 过程中应注意的问题 关键字: GNU C 编译器 移植 机器描述 指令模板 Developing a compiler from scratch is unavoidably a project lasting over several years, so a method to reduce this development phase is very desirable. Hence, modifying the compilers existing today is one

文档评论(0)

1亿VIP精品文档

相关文档