|
From: | Laurent Michel |
Subject: | Re: Getting Objective-C 2.0 working |
Date: | Fri, 18 May 2012 15:09:35 -0400 |
On May 18, 2012, at 2:40 PM, David Chisnall wrote:
Hmm. That's odd. Everything was compiled with clang and clang++ and linked with gcc I followed these directions: http://heronsperch.blogspot.com/2011/07/building-clang-for-use-with-gnustep.html I also uses -fblocks everywhere in my own makefiles. I'll double check just in case.
Ok. I'll do that and recompile. That's probably the reason (my own makefile use -fblocks but the GNUstep ones might not).
Good point. My own sources are compiled as follows: clang -g -I/usr/GNUstep/System/Library/Headers -I. -fblocks -fobjc-nonfragile-abi -c CPFactory.m so I already use nonfragile and blocks. But I didn't muck with the GNUstep CFLAGS and I bet that these guys do not have these two options. The code runs though. Kudos on the GNUstep libs. Once I figured out (with the list help) the magical makefile, it all compiled cleanly (only this runtime issue left). Thanks David! -- Laurent
|
[Prev in Thread] | Current Thread | [Next in Thread] |