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); }