jjb: Add C++ to print.sh
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 8 Sep 2021 20:21:24 +0000 (16:21 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 29 Sep 2021 17:23:43 +0000 (13:23 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/common/print.sh

index 047ed7d188c8e9d3ea669df8f16616c3979bfc64..6b15f72e621da98c9fc92c6b8e435025b42ff57d 100755 (executable)
@@ -62,11 +62,23 @@ print_tooling() {
     gcc --version | head -n1
     gcc -dumpmachine
 
+    print_blue "Selected CXX version"
+    ${CXX:-c++} --version | head -n1
+
+    print_blue "Default g++ version"
+    g++ --version | head -n1
+    g++ -dumpmachine
+
     if command -v clang >/dev/null 2>&1; then
         print_blue "Default clang version"
         clang --version
     fi
 
+    if command -v clang++ >/dev/null 2>&1; then
+        print_blue "Default clang++ version"
+        clang++ --version
+    fi
+
     print_blue "git version"
     git --version
 
This page took 0.023602 seconds and 4 git commands to generate.