mxcl/homebrew — Issue #9645: Homebrew doesn’t know where GCC is?!
Author: Zearin
Created: 2012-01-17 17:40:29+00:00
State: open

I don’t get it. First I try this:

```bash
$ brew --env
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2 -msse4.1
CXXFLAGS: -O3 -w -pipe -march=core2 -msse4.1
MAKEFLAGS: -j2
```

I see GCCs there.

But then I try this:

```
$ brew --config
HOMEBREW_VERSION: 0.8.1
HEAD: 3e4335894d32b39119f6f02b9f0106f73c3ac6ef
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
MacPorts or Fink? false
X11 installed? true
```

And `GCC-4.0` and `GCC-4.2` are `N/A`.

What does this mean?!