3 ms·
AFAIK Xcode still ships with gcc, even though llvm-gcc is default. I regularly use "brew install --use-gcc" for things that don't work with llvm-gcc. I believe
by GeneralMaximus 15y ago
AFAIK Xcode still ships with gcc, even though llvm-gcc is default. I regularly use "brew install --use-gcc" for things that don't work with llvm-gcc.
I believe rake should allow you to specify a C compiler on the command line. Even if it doesn't, you can temporarily change your CC environment variable to point to the gcc binary instead of llvm-gcc and things will probably work. Probably.
- danieldk 15y agoNo, it's not included anymore, though you might still have it as a result of upgrading from an older version of Xcode. More information is in the Homebrew issue: https://github.com/mxcl/homebrew/issues/6852 https://github.com/mxcl/homebrew/issues/6852
- billpatrianakos 15y agoI thought the same thing and while it should work like that it doesn't. I've gone through specifying the compiler, making a symbolic link to GCC, messing with my bash_profile... there's just a lot of problems. I'm probably going to have to do a clean install of Lion as getting things to all work involves a fragile, and very specific Procedure I think I've found.