发明授权
- 专利标题: Apparatus and method for cross-compiling source code
- 专利标题(中): 用于交叉编译源代码的装置和方法
-
申请号: US989848申请日: 1997-12-12
-
公开(公告)号: US5946489A公开(公告)日: 1999-08-31
- 发明人: Frank Yellin , Dean R. E. Long , Richard D. Tuck
- 申请人: Frank Yellin , Dean R. E. Long , Richard D. Tuck
- 申请人地址: CA Palo Alto
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: CA Palo Alto
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F9/44 ; G06F9/445
摘要:
A method of cross-compiling computer programs includes the step of extracting constants from an inheriting computer program written in a first computer language. The extracted constants refer to a generating computer program written in a second computer language. A new program in the second computer language is then created using the constants. The new program is then compiled for a target computer to ascertain compiled constant values. The compiled constant values are then substituted into the inheriting computer program to produce a final inheriting computer program.
信息查询