我们可以在 Windows 上编译目标 c 吗? [英] Can we compile objective c on windows?

查看:59
本文介绍了我们可以在 Windows 上编译目标 c 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在windows平台上编译objective c吗?

Can we compile objective c on windows platform?

推荐答案

快速回答:没有,没有任何用处.

Quick answer: no, not to any useful degree.

长答案:Objective-C 只是一种标准语言,GCC 编译它就好了.但是当大多数人谈论 Objective-C 时,他们包括 Apple 的(以前称为 NEXTstep)库,因为没有它们,裸语言就没有太大用处.有一些项目可以让您在非 Mac 系统上使用这些库,例如 GNUstep,但根据我的经验他们不成熟,而且比他们的价值更多的麻烦.我最近没看过,但我不会花太多精力让它发挥作用.

Long answer: Objective-C is just a standard language, and GCC compiles it just fine. But when most people talk about Objective-C, they are including Apple's (formerly NEXTstep) libraries, as the bare language isn't too useful without them. There are projects around to let you use these libraries on non-Mac systems, for example GNUstep, but from my experience they are immature and more trouble than they are worth. I haven't looked recently, but I wouldn't spend too much effort trying to get it to work.

这篇关于我们可以在 Windows 上编译目标 c 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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