discuss-gnustep
[Top][All Lists]
Advanced

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

Re: portability beetween openstep and gnustep


From: Nicola Pero
Subject: Re: portability beetween openstep and gnustep
Date: Fri, 27 Apr 2001 16:12:31 +0100 (BST)

> I'm currently porting an application running on
> openstep to make it word on gnustep.
> But i ran in one big problem, all basic functions
> implemented in openstep are not present in gnustep.

These functions are part of the Apple runtime, while GNUstep uses the GNU
Objective-C runtime.


> That the case for the following functions :
> 
> id objc_getMetaClass(const char *name) 

These functions (or the equivalent functions) are present in the GNU
Objective-C runtime as well, but usually with a different name; sometime
with a slightly different syntax and/or API.

Try looking for the <objc/objc.h> and similar header files on your
machine.  They are usually installed with your compiler, such as in 

/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/objc

there you should find all the functions you need.




reply via email to

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