开发者

Can we compile objective c on windows?

开发者 https://www.devze.com 2023-01-08 13:08 出处:网络
Can we compile objective c on 开发者_JAVA百科windows platform?Quick answer: no, not to any useful degree.

Can we compile objective c on 开发者_JAVA百科windows platform?


Quick answer: no, not to any useful degree.

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.


If your framework needs are basic, you can try cocotron, but I understand it is not yet "there" in many areas. http://www.cocotron.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消