From 75bc163f490e755801d3c2b3a460cad7a49e14bb Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Tue, 29 Nov 2011 14:30:09 -0800 Subject: [PATCH] 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 Homebrew/homebrew#8876. --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 825a0e2dc0..6d1f687a7f 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