是否有任何工具可以将大型c ++项目从windows base转换为unix base [英] IS there any tools to convert big c++ project from windows base to unix base
本文介绍了是否有任何工具可以将大型c ++项目从windows base转换为unix base的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个基于线程应用程序的c ++项目(windows服务)windows我想将它转换为unix base
我也使用orasql.lib来连接数据库是否有任何工具或快速方式将此Windows服务转换为unix服务
i have a c++ project(windows service ) windows base on threading app i want to convert it to unix base
also i use orasql.lib to DB connection is there any tools or fast way to convert this windows service to unix service
推荐答案
一般情况下,它不会发生,因为问题不是不同的平台,而是项目可能使用的不同API ;有些API只适用于Windows,有些仅适用于* NIX,有些可能是交叉平台;某些库将在系统的某些安装中安装或可用,有些则不会。一个人。整个想法是制作一个工具来改造项目,以便在一些不同的系统上做谁知道什么也没有多大意义。
你应该明白Linux和其他类Unix系统没有基于类似于Windows的 hybrid 内核的严格结构。例如,桌面环境可能不同,等等。
-SA
In general case, it's not going to happen, because the problem is not different platforms, but possible different APIs the project may use; some of the APIs can be only for Windows, some only for *NIX, some could be cross-plarform; some libraries would be installed or available on some installations of the system, and some would not. And so one. The whole idea to make a tool to transform the project to do who-knows-what on some different system would not make much sense.
You should understand that Linux and other "Unix-like" systems don't have the rigid structure based on hybrid kernel analogous to Windows. For example, desktop environments can be different, and so on.
—SA
这篇关于是否有任何工具可以将大型c ++项目从windows base转换为unix base的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文