C is for Cocoa
Subject:   Can I use objective C in Windows?
Date:   2003-07-23 22:53:08
From:   anonymous2
Is there an objective C compiler for MS Windows? I'm afraid I'm stuck with it for the time being.


Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Can I use objective C in Windows?
    2010-07-20 15:54:32  cleverapps [View]

    If you just want to experiment, there's an Objective-C compiler for .NET (Windows) here:
  • Can I use objective C in Windows?
    2003-07-29 06:02:59  retro [View]

    You can use Objective-C with one of the compilers already mentioned, but that alone is not going to allow you to build "Cocoa" applications per se. "Cocoa" is a "framework" or set of prewritten classes and methods (in C they call them "functions") that is unique to the Mac OS X platform. Unfortunately, you will not be able to program applications that use Cocoa from your Windows box.
    • Can I use objective C in Windows?
      2003-07-29 08:03:17  tallama [View]

      Hi, this is Seth A. Roby (the author).

      The answer is, as most answers are, more complicated than a simple yes or no.

      Objective-C can be compiled by gcc, which means that you can use it pretty much wherever.

      However, as Retro says, the main strength of Objective-C in OS X is the frameworks. But Retro's a little off when he says that those are available only fro OS X.

      But OS X is not where these frameworks originated; for that we have to go back through OPENSTEP, where NeXT and Sun worked together on the frameworks and made them an open standard, to NeXTSTEP where they were originally invented.

      And OS X is not the only place that took the frameworks from OPENSTEP; GNUSTEP ( is making an OPENSTEP-compliant code base that can be used by anybody (it's even under the friendly Lesser GPL). GNUSTEP works pretty well (I'm told) for Foundation (low-level) classes, but the AppKit support is spotty at best. GNUSTEP works pretty well on Linux and newer FreeBSDs, but elsewhere they generally report themselves as unstable (see The big deal, though, is that GNUSTEP is going to be playing catch-up with Apple as Apple extends the classes available, which Apple has been doing and GNUSTEP has pledged to follow to the best of their ability.

      So the short answer is 'yes', but the longer answer is 'mostly.' Objective-C is very much available, and the frameworks are making their way there, but the support is not quite there and the latest and greatest will always be OS X only. Unless, of course, Apple re-releases Yellow Box for Windows. I expect that sometime after the return of Enterprise Object Frameworks, which should be sometime after armageddon.

      - Seth
  • Can I use objective C in Windows?
    2003-07-24 07:54:45  anonymous2 [View]

    Yes. Check out DJGPP at
  • Can I use objective C in Windows?
    2003-07-24 00:17:06  senjaz [View]

    While I can't answer that question with a definite I'm reasonably certain: yes.

    Firstly Obj-C support is built into GCC which as a cross platform compiler should run on Windows.

    GNUStep is an open source effort to clone the old OpenStep frameworks which became Mac OS X when Apple bought NeXT. See

    You might need to use cygwin ( which is a set of a dll and other tools to allow you to compile and run otherwise UNIX only programs.

    I know this is the Mac OS X section but it's a worthy question, and so I for one would be interested to know how you get on.