Remove check for gcc

Since plenty of formula don't require it, I don't want to insist on gcc being installed. A better check is if gcc is required then check for version 4.2, which is all we support.

However I can't easily do that. So I'm risking bug reports from people who didn't read the installation instructions and didn't install the right Xcode. But they deserver derision :P
This commit is contained in:
Max Howell 2009-10-15 16:46:47 +01:00
parent 6c2555b476
commit 06e16bff7d

View File

@ -48,10 +48,6 @@ end
case Hardware.cpu_type when :ppc, :dunno
abort "Sorry, Homebrew does not support your computer's CPU architecture."
end
unless system "/usr/bin/which -s gcc-4.2"
abort "Sorry, Homebrew requires gcc 4.2, which is provided by Xcode 3.1 and later."
end
begin
require 'brew.h'