可以使用Xcode进行Linux开发吗?
我的团队正计划开始在linux平台上进行开发。之前我们一直使用 MS Visual Studio 在 Windows 中开发 C++ 应用程序。最近,我爱上了 Mac OSX 并用它作为我的个人开发机器。
问题又来了:是否可以使用Xcode进行Linux开发?
我们正在构建的应用程序是实时应用程序,不需要华丽的 GUI 或高级用户交互,重点是性能。
My team is planning to start development on linux platform. Previously we have been developing C++ applications in Windows using MS Visual Studio. And recently, I fell in love with Mac OSX and use it as my personal development machine.
The question is once again: Is it possible to use Xcode for Linux Development?
The applications we are building are real-time applications, which do not require fancy looking GUIs or advanced user interaction, the focus is on the performance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只要您坚持使用跨平台接口(glibc、POSIX、STL 等),当然可以。不过,您可能需要一台 Linux 机器来实际构建 Linux 的二进制文件。
As long as you stick to cross-platform interfaces (glibc, POSIX, STL, etc.), sure. You might need a Linux machine to actually build the binaries for Linux though.
我认为这是可能的,因为xcode和linux都使用gcc并且可以使用类似的开发工具包,并且osx和linux都是基于unix的,因此您可以在osx上调试和编码,但我认为您仍然需要在部署时重新编译应用程序O/S(所以请确保您在 osx 和 linux 之间使用可移植代码)
I think it is possible since both xcode and linux are using gcc and could use similar development toolkits, and both osx and linux are unix based, therefore you can debug and code on osx, but I think you still need to recompile your apps on deployment O/S ( so make sure you're using portable codes between osx and linux)