1
當我用gitbash和gcc編譯東西時,有沒有辦法縮短我需要輸入的內容?Objective-C for Windows with Gitbash and GCC
爲了編譯我的HelloWorld程序,我必須鍵入以下內容:
gcc -o helloworld.exe helloworld.m -I C:/GNUstep/GNUstep/System/Library/Headers -L C:/GNUstep/GNUstep/System/Library/Libraries -std=c99 -lobjc -lgnustep-base -fconstant-string-class=NSConstantString
['make'(http://en.wikipedia.org/wiki/Make_(軟件)) – 2013-09-26 18:50:04
我對不起,你能詳細說明一下嗎?我不習慣使用gitbash等,我不知道該怎麼做。 – user2604235
@userXXX'make'是一個構建自動化工具。如果您學會使用它,則不必每次都手動調用編譯器,而只需編寫一次該命令並在必要時使用'make'來向編譯器調用。 – 2013-09-26 18:56:05