I would like to use Homebrew to install some stuff,
In the mean time, I have already installed my local gcc, and I want Homebrew to use this specific one (this gcc at
/usr/local/bin/gcc is frequently upgraded by myself).
Unfortunately, Homebrew always figure out its gcc dependency, and related libraries, then download them all at
On my Mac,
which gcc indeed points to
/usr/local/bin/gcc, when I
brew install suite-sparse, it downloads gcc-4.9.1, while I already have gcc-4.9.2 locally.
I just want to keep things simple, use my local gcc with the associated library, e.g. gmp and mpfr (at
/usr/local/lib), is it possible with Homebrew?