TextMateでコンパイル&実行までできることに気づいたのでメモ。
test.mというファイル名でファイルを作成した後、”Select Bundle Item”ダイアログをひらいてみる(ショートカットは^⌘T)。Cのメイン関数を挿入するスニペットがあるので、
それを使うとだいたい出来上がり。
⌘Rでコンパイル&実行できる。
ちなみに、上記の手順の場合、TextMateのバンドルはCのものを使っているみたいで、コンパイルは下記のようなオプションで実行されているみたいです。
gcc test.m -Wall -include stdio.h -framework Cocoa



2 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Continuing the Discussion