On 21 Jun 2010, at 22:37, David Chisnall wrote: > On 21 Jun 2010, at 19:37, Thomas Davie wrote: > >> On 21 Jun 2010, at 18:21, David Chisnall wrote: >> >> Hi David and everyone, >> >> Just to let you all know, I figured out something that works: >> >> 1) install compiler-rt >> 2) add -lBlocksRuntime to the LDFLAGS. >> >> Not sure if this is the standard solution, but it got me up and running :) > > Please do not follow this advice. The blocks runtime provided by compiler-rt > is incompatible with Objective-C. The hooks it provides are highly specific > to the NeXT runtime, and so sending a message to a block will cause a crash > (as will storing blocks in collections, using them with any of the > higher-order messaging in EtoileFoundation, and so on). This is why GNUstep > provides its own.
Ah bum, thanks for the heads up. :( Any idea how I get a runtime that does support Objective-C blocks? Thanks Tom Davie _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
