ちなみに

火曜日の空は僕を押しつぶした。

新しいMacBookを買ったらgccとか入ってなくて泣いたときのメモ

$ /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

 

http://butcher.asablo.jp/blog/2012/03/24/6386582

 

Xcode 4.3 をインストールする

preference -> download -> Command line tools でgcc(llvm)とかをインストール

 

$ brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb --use-llvm --enable-cxx --enable-fortran --enable-objc --enable-objcxx 

 

で、gcc をインストール