views:

60

answers:

3
[GNUStep installers]
gnustep-system-0.24.2-setup.exe
gnustep-core-0.25.0-setup.exe
gnustep-devel-1.1.1-setup.exe
gnustep-cairo-0.22.1-setup.exe

I installed them to windows 7. But, it is not able to use Objective-C 2.0 syntax. Example, @property, @synthesize, assign, and so on.

And, I want to use CFSocket, but CoreFoundation was not supported.

+4  A: 

According to http://en.wikipedia.org/wiki/Objective-C version 2.0 is only available in the Apple modification to the gnu compiler.

CoreFoundation is also an Apple framework/library, so you won't have much joy there.

No one in particular
Oh, I see...Thanks.
Shiva
A: 

Core Foundation is not part of GNUstep unfortunately. However, Apple does have a cut down Open Source distribution called CFLite which looks to contain CFSocket.

JeremyP
A: 

Unfortunately, Objective-C 2 features aren't available in the current Windows release of GNUstep. (They are in development versions of Clang, GNUstep, and the GNUstep runtime, but this combination is not yet released).

There are more details here: http://wiki.gnustep.org/index.php/ObjC2_FAQ

As you noted, CF functions are not present. NSStream can be used for socket communication (+getStreamsToHost:port:inputStream:outputStream:), but I'm not sure if it would work for what you want to do.

ericwa