I have installed gcc45 by using brew tap homebrew/versions & brew install gcc45
. However, I can not find g++-4.5 in /usr/local/bin
. How can I install g++-4.5 separately by Homebrew? Thanks.
My system 10.6.8.
gcchomebrewmacos
I have installed gcc45 by using brew tap homebrew/versions & brew install gcc45
. However, I can not find g++-4.5 in /usr/local/bin
. How can I install g++-4.5 separately by Homebrew? Thanks.
My system 10.6.8.
Best Answer
Looks like the g++ part is not built by default. Build it with
brew install gcc45 --enable-cxx
andg++-4.5
will appear. Seebrew info gcc45
for details on the build options.