Projects that assume OS X are even worse. Homebrew, for example, hardcodes gcc as gcc-4.2. I tried working with gcc-4.7 (which is ridiculously easy to install using homebrew), but so many build recipes broke, that I had to just give up and reset to apple-gcc-4.2.