Installing gcc47 as default using Homebrew
If you want to do something a little easier to revert later, you can always make an alias in your bashrc file. 

alias gcc gcc-4.7


This will automatically convert everything for you from the command line. The downside is that it only works when your bashrc is used and only for your user (which could also be a positive).