I'm not sure if there is any documentation, but it's not so tricky.   
Objective-C 2 extends both the compiler and runtime requirements over  
Objective-C 1.  The only compiler that supports the new syntax is  
clang - you'll need an svn build from the last couple of months.  Then  
you can use it as a drop-in replacement for gcc (although it doesn't  
yet support [Objective-]C++, only [Objective-]C).

For the runtime components, you have two options.  Either link in  
ObjectiveC2.framework from Étoilé svn, or use libobjc2 from GNUstep  
svn instead of GCC's libobjc.  The latter option is preferred, but  
requires you to relink everything (or use something like libmap.conf)  
to use the new runtime instead of the old one.

If you are using libobjc2, then you should compile with -fobjc- 
nonfragile-abi, which enables the new ABI, allowing accelerated  
proxies, better introspection, and non-fragile instance variables.

David

On 22 Dec 2009, at 09:49, Guenther Noack wrote:

> Hi!
>
> Just out of curiosity: Is there some sort of documented installation
> procedure one can follow to get Objective-C 2.0 working on GNUstep?
> I couldn't find it on the web, but maybe I'm overlooking something
> here.
>
> --Günther

-- Sent from my Difference Engine




_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to