タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

ProgrammingとC++とmacOSに関するagwのブックマーク (2)

  • C++ Development in Xcode

    C++ in Xcode Tired of Vim? Here's tips for C++ development in Xcode. Tuned to the needs of many classes at UM. Contents: Creating the Project Command Line Arguments Input Redirection - stdin Input and Output files - fstream Debugging Source Control Testing on CAEN Creating the Project After opening Xcode, go to File->New->Project In the OS X section, select 'Application' and then select the 'Comma

    C++ Development in Xcode
  • Mac OS X MarvericksでC言語デバッグ - クジラ机ブログ

    最近、Mac OS X(Marvericks)のターミナル上で、C言語を使って開発しています。その場合、Xcodeを使ってやるのが環境構築するのが一番簡単です。 ただターミナル上、あるいは、EclipseやNetBeansでやる場合には、コマンドを入力する必要があります。 このとき、gccは普通に使えるのですが、gdbがありません。その代わり、デバッグには、lldbを使います。lldbの使い方は、以下より。 LLDB Tutorial http://lldb.llvm.org/tutorial.html 簡単にまとめると、以下の通り。 まず、コンパイル時に、デバッグオプション(-g)を追加。 gcc -Wall -O2 -g -c hoge.c 起動時に実行ファイルを指定してlldbを実行。 lldb ./appfile 実行するには「r」(または「run」)をタイプします。これだけで、落

    Mac OS X MarvericksでC言語デバッグ - クジラ机ブログ
  • 1