跨文件编译模式与基于GCC的实现  被引量:1

Cross-Files Compilation Models and the Implementation Based on GCC

在线阅读下载全文

作  者:郭学鹏[1] 赵克佳[2] 

机构地区:[1]北京华大电子设计有限公司,北京100015 [2]国防科技大学计算机学院,湖南长沙410073

出  处:《计算机工程与科学》2007年第4期111-115,共5页Computer Engineering & Science

基  金:国家863计划资助项目(2004AA1Z2210)

摘  要:有很多编译优化都与编译时的视野有关,较宽的视野能给编译器提供更详细的信息,从而能得到更好的优化效果。采用跨文件编译模式使编译器的视野扩大至整个程序将是未来的方向。本文总结了实现这种模式的一般流程以及所遇到的问题和解决方法,分析了三种已提出的跨文件过程间编译模式,最后给出了一个基于GCC3.4的跨文件编译框架的实现方法。Many compilation optimizations bear relations with the scope the compiler can see. The larger scope a compiler can see, the more information it can obtain, and the best effect its optimization will have. The cross-files compilation model that processes all files which constitute a program once at a time will be the tendency of future compilers. In this paper, we summarize the questions and methods for the implementation of a cross-files compilation model, analyze three suggested models of cross-files inter-process compilation, and then give our cross-files compilation model which is designed based on GCC 3. 4.

关 键 词:跨文件编译模式 过程间优化 编译器 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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