首页> 中文期刊> 《浙江大学学报(理学版)》 >Linux程序在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上移植的通用方法,通过将Linux下Linpop即时通讯软件移植到Windows上的实际项目,阐述在Windows下如何通过MinGW+ MSYS等工具以及GTK+开发包,将Linux下基于GTK+的C程序移植到Windows上.同时对移植中可能会产生的网络通信、多线程等问题进行了分析和解决,使最终移植后的程序能够稳定地运行于Windows上,并且使最终处理后的程序源代码可以同时在Linux和Windows下跨平台编译并能够稳定运行.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号