Maybe problem in here - helloworld*.h *? do this: mv helloworld.h helloworld.m&& gcc -framework Foundation helloworld.m -o helloworld
2014-10-31 9:13 GMT+03:00 Mayuresh Kathe <[email protected]>: > is there any document/web-page i could refer to for a set of steps to > adhere to while compiling obj-c (pre-v2) code? > yes, i finally decided on my platform (netbsd) and language (obj-c), > and as advised have got a copy of the 'oop' book by mr. brad cox. > just that a simple helloworld.h snippet refuses to compile. > #import <stdio.h> > #import <Foundation/Foundation.h> > > int main(void) { > NSLog(@"Hello, World!\n"); > return 0; > } > > > any help would be appreciated. :) > thanks, > -mayuresh > _______________________________________________ > 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/sillent1987%40gmail.com > > This email sent to [email protected]
_______________________________________________ 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]
