discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting to GNUstep from OSX


From: Marcus Müller
Subject: Re: porting to GNUstep from OSX
Date: Wed, 9 Jul 2003 23:53:29 +0200


Hi David,

On Wednesday, July 9, 2003, at 11:14 PM, David Bishop wrote:

My first problem, with both projects, is that they use some header files that
simply don't exist for me: runtime.h and objc-class.h, both in the objc
subdirectory.  They use the methods class_getClassMethod and
class_add_method_list (probably more, but that's were the compile/link dies). Any idea what the GNUstep equivelant is? The only any slightly related docs I could find were about gcc 3.3 at http://gcc.gnu.org/gcc-3.3/changes.html, where it mentions that you "No longer need to include objc/objc-class.h to compile self calls in class methods (NeXT runtime only)." Well, that's good,
because as far as I can tell objc-class.h didn't exist in 3.2, either.
Pointers? Tips? Hints? Oh, and if you must know, the two things I'm trying to get running are ocunit (a unit tester) and PyObjC (python bindings for
ObjC and Cocoa).

I recently ported OCUnit to GNUstep. Marco forwarded me your email regarding incompatibility with gcc 3.3. So far, I have only be able to test with Apple's gcc 3.3 on Panther - no problems at all. The missing header forces a warning, but that's not fatal.

I don't know how the header problem could be solved elegantly besides using autoconf, but that wouldn't be acceptable on OSX anyways - it just doesn't fit into the picture using PBX (or Xcode).

Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]