title: Where can I find a version of current using GCC compiler on Mac?
body: <p>I use a command: <code>g++ -v</code> to know what's the version of GCC currently using. But I get following output:</p>
  
  <pre><code>$ g++ -v
  Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
  Apple LLVM version 8.0.0 (clang-800.0.42.1)
  Target: x86_64-apple-darwin16.1.0
  Thread model: posix
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  </code></pre>
  
  <p>So I don't understand. Am I using LLVM or GCC when I compile my program with: <code>g++ test.cpp</code>? Why do I see the information about LLVM when I'm requesting the information about GCC? LLVM used with Clang as a frontend.
  What have I missed there?</p>