• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a decent Obj-C for Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a decent Obj-C for Windows?


  • Subject: Re: Is there a decent Obj-C for Windows?
  • From: Andreas Monitzer <email@hidden>
  • Date: Mon, 24 Sep 2001 13:55:25 +0200

On Monday, September 24, 2001, at 01:10 , Ondra Cada wrote:

Andreas Monitzer (AM) wrote at Mon, 24 Sep 2001 11:16:15 +0200:
AM> ...that's the problem when there's no stdc++-equivalent

I have no idea what stdc++ might be, but if you mean a standard set of
libraries, like those stdio/stdlib/... ones for plain C

yes, it's /usr/lib/libstdc++.a on Mac OS X and includes things like cout, cin and some string handling functions (I don't think anybody actually uses them).

, then ObjC naturally
has such a thing -- the standard Object class and its services. Each ObjC
implementation which is not flawed supports it. Just import <objc/Object.
h>
and use it. If it does not work in CW, then CW does not support ObjC properly

AFAIK it's included.

(in the same meaning and with the same caveats as if we said "if you don'
t
have atoi or strlen, then your SDK does not support C properly").

In OS X, incidentally, we have it too, but don't use it often, since our
Foundation's ways better.

Ok, let's restate that: that's the problem when the Foundation isn't included in the ObjC-standard.
Of course it can't be included, since it's controlled by one company and a moving target (just like Java). But that's part of the problem that ObjC isn't cross-platform if Apple doesn't want it to be, since there's NO (usable) ObjC-API besides Cocoa.

If GNUStep's Foundation only uses libc-calls, maybe it's possible to compile it without cygwin. Writing your own implementation of Foundation might also be feasible (if you only implement classes you really need, like NSString, NSArray, NSDictionary).
Maybe even Apple's CoreFoundation compiles on Windows NT/2k, it's API is pretty POSIX-like.

andy
--
"He was addicted to life. But we cured him"


  • Follow-Ups:
    • Re: Is there a decent Obj-C for Windows?
      • From: John Hörnkvist <email@hidden>
    • Re: Is there a decent Obj-C for Windows?
      • From: Robert S Goldsmith <email@hidden>
    • Re: Is there a decent Obj-C for Windows?
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Is there a decent Obj-C for Windows? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: NSThread/NSImage problem
  • Next by Date: Re: Is there a decent Obj-C for Windows?
  • Previous by thread: Re: Is there a decent Obj-C for Windows?
  • Next by thread: Re: Is there a decent Obj-C for Windows?
  • Index(es):
    • Date
    • Thread