Re: Objective-C programming
Adam Fedor <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
On Sep 30, 2005, at 2:45 PM, Mehul N. Sanghvi wrote: > > As far as I can tell, there isn't a ffi library on NetBSD, at least I > don't see on in /usr/pkgsrc. Does it come as part of gnustep-base ? > I think there might be a bug in ffcall for NetBSD/Sparc, but I'll have to look around to remember that. I don't think ffi is an option, but it's possible - it comes with gcc, so you would have to look to see if there is, say, a gcc-libffi package or perhaps compile from source (if it works on your OS). > > > Is my understanding correct ? Is this what I want ? Or should I just > install gnustep-base and gcc-objc and leave it at that (along with > gnustep-make) ? > > Based on what folks have said here, I believe that as long as I have > gcc (with objc support), gnustep-make, and gnustep-base, I should be > just fine, yes ? > yes. gcc with objc comes with the libobjc library, which has the Objective-C runtime (GNU). GNUstep-base has some compatibility functions that allow you to use the same runtime functions on both NeXT and GNU runtimes, but I don't think you need to worry about that.