Thanks for responding Sebastian,
I was trying to compile this code snippet for starters, named hello.m:
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSLog(@"Hello, I'm created by Tito Mari Francis Escano");
[pool drain];
return 0;
}
To compile it, on the terminal, I have to run:
clang -I /usr/local/include/ -L /usr/local/lib -I /usr/local/include/gnustep -L /usr/local/include/Foundation -L /usr/local/include/GNUstepBase -L /usr/local/lib/GNUstep/Libraries/ -lgnustep-base -lobjc2 hello.m -o hello
Can you please give me pointers on how to use the GNUmakefile and how gmake is invoked to do the build in OpenBSD?
Thanks again.