摘要
针对分步方式构建交叉编译器过程复杂且成功率低的问题,提出一种简化鲁棒的交叉编译器分步式构建方法,该方法利用功能完整的交叉编译器代替静态GCC编译Glibc,减少构建过程中的步骤和参数配置数目,降低整个过程的复杂度,提高成功率。结果证明,该方法可以有效地降低分步式方法的复杂度,提高成功率。为了提高该方法的普适性,文中还对该方法中的参数设置、版本选择、库依赖等问题进行了分析和总结。
The method of cross-compiler building step by step has high complexity and low rate of suc-cess.To address the problem,a simplified and robust method is proposed.The method utilizes a full-fea-tured cross-compiler to compiler Glibc instead of the static GCC,which reduces the build process steps, the number of parameters and complexity of the entire process,and improves the rate of success.The re-sults show that the method can effectively reduce the complexity of the method to build a cross-compiler step by step and improve the rate of success of the method.In order to enhance the universality of the method,the parameter setting,version selection,dependencies of library files and other issues are ana-lyzed and summarized also on the method proposed.
出处
《中山大学学报(自然科学版)》
CAS
CSCD
北大核心
2014年第2期33-37,共5页
Acta Scientiarum Naturalium Universitatis Sunyatseni
基金
湖北省自然科学基金资助项目(2011CDC100)
湖北省教育厅重点资助项目(D20131306)
三峡大学楚天学者基金资助项目(KJ2012B001)
三峡地区地质灾害与生态环境湖北省协同创新中心PI团队资助项目(CICGE2013PI-3-103)
关键词
交叉编译器
嵌入式
分步式
ARM
LINUX
ARM
LINUX
cross-compiler
embedded
step by step