discuss-gnustep
[Top][All Lists]
Advanced

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

Re: HOWTO: ARC (libobjc2) and libdispatch on Ubuntu 12.04 Server


From: Niels Grewe
Subject: Re: HOWTO: ARC (libobjc2) and libdispatch on Ubuntu 12.04 Server
Date: Mon, 13 Aug 2012 13:46:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

Hi Thomas!

Am 13.08.2012 10:29, schrieb Thomas Davie:
> Note, you also don't need to do anything anywhere near as complex to get 
> libdispatch either.  A simply sudo apt-get install libdispatch was enough for 
> me.

The goal here is to use the GNUstep runtime (and libdispatch) for
Objective-C code. The runtime needs to include the interface required
for using blocks with Objective-C (for example, it needs to properly
retain or copy Objective-C objects referenced in the block while copying
blocks to the heap).
When you are using libdispatch from the package, it links against
libBlocksRuntime as the blocks runtime interface, which knows nothing
about the GNUstep runtime and doesn't do quite the right things. So
using the package doesn't get you anywhere in this scenario, hence the
minor annoyances described earlier.

Cheers,

Niels



reply via email to

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