Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
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

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 07:17, Thomas Davie wrote: Ah bum, thanks for the heads up. :( Any idea how I get a runtime that does support Objective-C blocks? Yes, the one in GNUstep works, as does the one in libobjc2. I fixed the header include issue yesterday afternoon, about five minutes after

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 09:10, David Chisnall wrote: On 22 Jun 2010, at 07:17, Thomas Davie wrote: Ah bum, thanks for the heads up. :( Any idea how I get a runtime that does support Objective-C blocks? Yes, the one in GNUstep works, as does the one in libobjc2. I fixed the header include

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is that in my code, Block_copy and friends are inaccessible. I don't know where the appropriate place to include

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 11:06, Thomas Davie wrote: Some further testing (manually including blocks_runtime.h) reveals that there's still some problems, inserting a block into a collection appears to cause a segfault: Ah, it seems that the code required to make this work is in EtoileFoundation.

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is that in my code, Block_copy and friends are inaccessible. I

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 11:42, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 11:28, Thomas Davie wrote: On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: There's a slight problem with this approach – previously, it was possible to compile gnustep-base with gcc, and expect

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Richard Frith-Macdonald
On 22 Jun 2010, at 11:28, Thomas Davie wrote: On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-21 Thread David Chisnall
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,