Can we compile objective c on windows?
+6
A:
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.
Steven Schlansker
2010-07-24 19:45:10
thanks steven lot
question
2010-07-24 19:46:27
And that's a much better answer than I could have given you through googling. If you're stuck on the GCC bit and still want to do so, check http://www.roseindia.net/iphone/objectivec/compiling-objective-c.shtml
Tobiasopdenbrouw
2010-07-24 19:46:40
GCC/Mingw indeed has an objective-C compiler, but I fear it will be missing a lot of Apple specific functionality on the runtime side, because... well.. that functionality is Mac specific :)
rubenvb
2010-07-24 19:47:33
+1
A:
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/
ergosys
2010-07-24 19:55:28