aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-11-29 14:30:09 -0800
committerCharlie Sharpsteen2011-11-29 14:31:53 -0800
commit294af55b2467187fd15487924d150446f62acf48 (patch)
tree013bb9e525833eb8e3396df9035deb96fbd2387e /Library
parent8a980d509bc1b9d3bce0be74a5036621540fd8d2 (diff)
downloadhomebrew-294af55b2467187fd15487924d150446f62acf48.tar.bz2
brew doctor: Note there is no GCC in XCode 4.2+
Should help advert confusion surrounding the "could not find gcc 4.2.x" message recieved by Lion users running the latest version of XCode. Fixes #8876.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 825a0e2dc..6d1f687a7 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -184,6 +184,7 @@ def check_gcc_versions
if gcc_42 == nil
puts <<-EOS.undent
We couldn't detect gcc 4.2.x. Some formulae require this compiler.
+ NOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.
EOS
elsif gcc_42 < RECOMMENDED_GCC_42