How to compile an objective c program under windows with independant MingW
问题 I know how to compile the objective c program using gnustep version of mingw. But I don't like their shell and I want to use the standard mingw gcc compiler. I put this gcc bin directory in environment path of course, open command prompt in my helloworld.m directory #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hello World!"); [pool drain]; return 0; } and type gcc -o hello hello.m -I /GNUstep