I am a new Mac user and was wondering if installing gcc via brew install gcc
command would install GNU C++ compiler?
1 Answer
Yes, installing gcc
using brew install gcc
will install GNU C++ compiler.
The compiler is installed by default in /usr/local/Cellar/gcc/8.2.0/bin
.
gcc --version
What does it print?