1.下載相關軟體
gnustep-code-xx, gnustep-devel-xx, gnustep-msys-xxx, http://www.gnustep.org/resources/sources.html#windows
codeblocks-xxx http://www.codeblocks.org/
2. 安裝相關軟體gnustep-code-xx, gnustep-devel-xx, gnustep-msys-xxx, codeblocks-xxx
3. 開啟Settings => Global compiler setting,建立新的Compiler
4. 點選Compiler Settings => Other options 輸入字串
-fconstant-string-class=NSConstantString
-std=c99
5. 點選Linker Settings 新增輸入link libraries
6. 新增policy Headers,Libaries
7. 新增 files extension, *.m
8. 新增Filemasks..., *.m
9. 新增 keywords, @interface @implementation @end @class @selector @protocol
@public @protected @private id BOOL YES NO SEL nil NULL self
10. 撰寫測試
#import
int main(int argc, const char *argv[])
{
NSLog(@"Hello
World!");
NSLog(@"Objective-C!");
return (0);
}










留言