discuss-gnustep
[Top][All Lists]
Advanced

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

Clang status update


From: David Chisnall
Subject: Clang status update
Date: Fri, 20 Nov 2009 15:35:41 +0000

Hi Everyone,

I've fixed a few clang bugs this week, and it's now capable of compiling the entire Étoilé tree with both the GCC-compatible and non- fragile ABIs. If anyone wants to play with it, grab the latest svn.

You need libobjc2 from GNUstep svn to use the new ABI and you need to add -fobjc-nonfragile-abi to your OBJCFLAGS. This lets you hide instance variables away from public headers. This is needed for the fast forwarding (-forwardingProxyForSelector:) and non-fragile ivars to work.

With both ABIs you get fast enumeration and declared properties. Both of these require either libobjc2 or the ObjectiveC2 framework from Étoilé.

You do NOT need to compile GNUstep with clang, and you can mix the two ABIs in the same program, although if you subclass a non-fragile ABI class with a fragile ABI class then things will break.

David

-- Sent from my Difference Engine







reply via email to

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