Linux程序向Android平台移植的研究
DOI:
CSTR:
作者:
作者单位:

西安邮电大学 西安 710061,西安邮电大学 西安 710061,西安邮电大学 西安 710061

作者简介:

通讯作者:

中图分类号:

基金项目:


Research of Porting The Application from Linux to Android
Author:
Affiliation:

Xi’an University of Posts and Telecommunications,Xi’an,710061,Xi’an University of Posts and Telecommunications,Xi’an,710061,Xi’an University of Posts and Telecommunications,Xi’an,710061

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对Linux程序向Android平台移植的问题,从ABI层面分析了Linux和Android平台的差异,提出并研究了Linux程序ABI兼容的关键问题:系统目录结构一致性、程序加载和链接等问题。在此基础上,利用目录结构重定向和程序依赖关系分析等技术,设计实现了一种基于ABI兼容技术的移植方法。以移植Linux系统上的CUPS打印程序为例,对所提方法做出验证。实验结果表明本方法能够移植复杂的程序,且相比现有基于交叉编译的移植方法复杂度低、通用性高。

    Abstract:

    Aiming at the problem of porting the application from Linux to Android, the differences in Linux and Android from the ABI level were analyzed, The key issues of Linux ABI compatibility are proposed and studied, including the system directory structure consistency issue, the program loading and linking issue and other issues. On this basis, a porting method based on ABI compatible technology is implemented, which uses directory structure redirection and program dependency analysis techniques. The proposed method is verified by porting the CUPS program on Linux. The experimental result shows that this method can port complex applications, and compared with the cross compiler based transplantation method is low complexity, high versatility.

    参考文献
    相似文献
    引证文献
引用本文

何兴鹏,刘钊远,陶琛嵘. Linux程序向Android平台移植的研究计算机测量与控制[J].,2018,26(5):112-115.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-08-13
  • 最后修改日期:2017-09-06
  • 录用日期:2017-09-08
  • 在线发布日期: 2018-05-22
  • 出版日期:
文章二维码