Linux程序在Windows上的移植及运行稳定性分析  被引量:1

Linux programs on Windows and the operation stability analysis of transplantation

在线阅读下载全文

作  者:孔美云[1] 钱成特[2] 刘加海[3] 

机构地区:[1]浙江商业职业技术学院,浙江杭州310053 [2]浙江大学软件学院,浙江宁波315103 [3]浙江大学城市学院,浙江杭州310015

出  处:《浙江大学学报(理学版)》2012年第3期289-292,共4页Journal of Zhejiang University(Science Edition)

摘  要:讨论了Linux程序在Windows上移植的通用方法,通过将Linux下Linpop即时通讯软件移植到Windows上的实际项目,阐述在Windows下如何通过MinGW+MSYS等工具以及GTK+开发包,将Linux下基于GTK+的C程序移植到Windows上.同时对移植中可能会产生的网络通信、多线程等问题进行了分析和解决,使最终移植后的程序能够稳定地运行于Windows上,并且使最终处理后的程序源代码可以同时在Linux和Windows下跨平台编译并能够稳定运行.A common method to port Linux program to Windows is discussed.Based on the actual project of porting Linpop Instant Messenger in Linux to Windows,the paper describes how to port C program based on GTK+ in Linux to Windows by using MinGW+MSYS and other tools as well as GTK+ development package.And the paper analyzed and resolved the problems of network communication and multithreading that may happen while porting.Based on this,the final program ported can stably run in Windows,and the final source code can be simultaneously compiled and also run stably in Linux and Windows.

关 键 词:LINUX WINDOWS GTK+ 移植 稳定性 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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