使用Mac进行跨平台开发? [英] Using a Mac for cross platform development?

查看:290
本文介绍了使用Mac进行跨平台开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁使用Mac进行跨平台开发?

Who uses Macs for cross-platform development?

通过跨平台,我本质上是指您可以针对Windows或Unix进行编译(不一定要同时使用).我了解这与编写可移植代码也有很大关系,但是我对人们使用 Mac的经验更感兴趣OS X 开发软件.

By cross platform I essentially mean you can compile to target Windows or Unix (not necessarily both at the same time). I understand that this also has a lot to do with writing portable code, but I am more interested in people's experience with Mac OS X to develop software.

我了解到有很多IDE可供选择,我可能会使用Eclipse(我喜欢 GCC 工具链),但是 Xcode 似乎很受欢迎.可以如上所述使用吗?紧要关头,我总是可以使用 VirtualBox

I understand that there are a range of IDEs to choose from, I would probably use Eclipse (I like the GCC toolchain) however Xcode seems to be quite popular. Could it be used as described above? At a pinch I could always virtualise with VirtualBox or VMware Player or parallels to use Visual Studio (or dual boot for that matter). Having said that I am open to any other suggested compilers (with preferably an IDE that uses GCC.)

还有一系列可用的Mac,您会推荐哪一种?我希望使用笔记本电脑(因为我已经有了台式机),但是不确定合理的规格.

Also with the range of Macs available, which one would you recommend? I would prefer a laptop (as I already have a desktop) but am unsure of reasonable specifications.

如果您当前正在使用Mac进行开发,那么我想听听您在Mac上进行的开发以及您喜欢和不喜欢的内容.

If you are currently using a Mac to do development, I would love to hear what you develop on your Mac and what you like and don't like about it.

我将主要在C/C ++/Java中进行开发.我还希望尝试使用 Boost

I would primarily be developing in C/C++/Java. I am also looking to experiment with Boost and Qt, so I'm interested in hearing about any (potential) compatibility issues.

如果您有其他建议,我想告诉您.

If you have any other tips I'd love you hear what you have to say.

推荐答案

好,使用Mac大约是(折扣OSX86)唯一能够在相同硬件上同时在Mac + Windows + Linux上进行测试的方法.话虽如此,如果那是您唯一的原因,我不会走那条路.如果您在Windows环境中进行编程更舒适,我想说的是在Windows中进行工作,并在侧面安装Mac Mini,甚至可能是您为了测试软件而廉价购买的二手机器.

Well, using a Mac is just about (discounting OSX86) the only method of actually being able to test on Mac + Windows + Linux all on the same hardware. That being said, I wouldn't go that route if that was your only reason. If you're more comfortable programming in a Windows environment, I would say to do your work in windows, and have a Mac Mini on the side, possibly even a used one you pick up for cheap just to test your software.

这篇关于使用Mac进行跨平台开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆