Neal Kruis
Neal Kruis

Reputation: 2297

Using Homebrew to install GCC-built boost libraries on Mac OS X

Is it possible to use Homebrew to install boost libraries compiled with GCC (instead of Clang)?

I have tried pointing HOMEBREW_CXX to my Homebrew version of GCC, but it doesn't seem to do the trick.

If not, I can always modify the configure file following the suggestion in this answer:

How to install Boost with specified compiler (say GCC)

Upvotes: 4

Views: 3915

Answers (1)

Tim Smith
Tim Smith

Reputation: 6349

brew install boost --cc=gcc-4.9 will do it. install --cc is described in man brew.

Upvotes: 6

Related Questions