Hi-yah guys!
I am currently setting out a journey of Objective-C programming in FreeBSD and I need some help. How do I compile a simple program with the new Clang compiler? I have the following:
I found a great link for accomplishing my task in GCC / OpenGNU: http://www.freebsdonline.com/content/blogsection/21/550/
But I would like to use Clang. I have searched https://wiki.freebsd.org but no luck. My apologies for a n00b question but may someone please help?
Thank you!
I am currently setting out a journey of Objective-C programming in FreeBSD and I need some help. How do I compile a simple program with the new Clang compiler? I have the following:
Code:
#import <Foundation/Foundation.h>
int main( int argc, const char *argv[] ) {
NSLog (@"First ObjC Program");
return 0;
}
I found a great link for accomplishing my task in GCC / OpenGNU: http://www.freebsdonline.com/content/blogsection/21/550/
But I would like to use Clang. I have searched https://wiki.freebsd.org but no luck. My apologies for a n00b question but may someone please help?
Thank you!