インストールされているか確認 アプリケーション > ターミナルを開いて確認する gcc -v gcc はC言語のコンパイルを実行するUNIXコマンド Xcodeがない場合 -bash: gcc: command not found Xcodeがインストールされている場合 Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5490~1/src/configure –disable-checking -enable-werror –prefix=/usr –mandir=/share/man –enable-languages=c,objc,c++,obj-c++ –program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ –with-gxx-include-dir=/include/c++/4.0.0 –with-slibdir=/usr/lib –build=i686-apple-darwin9 –with-arch=apple –with-tune=generic –host=i686-apple-darwin9 –target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 … 続きを読む →