> Am 31.10.2014 um 14:05 schrieb Mayuresh Kathe <[email protected]>: > > yes, did try out that approach, failure. > errors; > gcc: Foundation: No such file or directory > cc1obj: error: unrecognized command line option "-framework"
You're trying to compile Foundation code on NetBSD with an Apple GCC/Clang extension that's for OS X only (-framework) - that can't work. If you want to use ObjC on NetBSD, I can recommend you the ObjC framework and runtime I wrote, ObjFW. NetBSD is a first class citizen there and it's in pkgsrc-wip. I recommend using wip/objfw-git instead of wip/objfw, though. You can either use it with the old GCC version NetBSD ships with (which means ObjC1 only), or you can install clang from pkgsrc and use ObjC2 (and the new features that came after) with it. -- Jonathan _______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com This email sent to [email protected]
