基于LCC的交叉编译器的研究与实现  

Research and implementation of cross compiler based on LCC

在线阅读下载全文

作  者:张红光[1] 陈鹏[1] 

机构地区:[1]南开大学计算机系,天津300071

出  处:《计算机工程与设计》2007年第18期4431-4432,4441,共3页Computer Engineering and Design

基  金:天津市重点攻关基金项目(05YFGZGX02400)。

摘  要:嵌入式系统的飞速发展使得必须快速地为之开发相应的编译器。LCC是一款可重定向的开源小型C编译器,基于LCC为嵌入式系统实现交叉编译器是种有效的途径。首先分析了LCC编译器的体系结构,然后说明了基于LCC的交叉编译器移植技术及其实现,并详细讨论了实现中的关键技术:交叉C编译器ABI的制定和DAG归约规则的制定。并根据实践经验总结出了3条对规约规则的制定具有指导作用的原则。With rapid development of embedded system now, the need for cross-compliers should be satisfied efficiently. LCC is a re- targetable open-source small C compile. It is a right method to implement cross compiler based on LCC. First the architecture of LCC is analysed, then implementation of cross compiler transplantation based on LCC is presented. The key technology of implement is di- scussed in detail, including providing C cross compiler ABI and giving DAG rules, and based on practical experience three guidelines is put forward for giving DAG rules.

关 键 词:交叉编译器 嵌入式系统 应用程序二进制接口 可重定向 后端 有向无环图 规约规则 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象