Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
even more informative error message
[simgrid.git] / src / smpi / smpicc.in
index 0d50597..6902a25 100755 (executable)
@@ -42,10 +42,13 @@ while [ $# -gt 0 ]; do
             fi
             list_add CMDARGS "${SRCFILE}"
             ;;
-        '-version' | '--version' | '-v')
+        '-version' | '--version')
             printf '%b\n' "$SIMGRID_VERSION"
             exit 0
-            ;;           
+            ;;
+        '-compiler-version' | '--compiler-version')
+            ${CC} --version
+            ;;
         *)
             list_add CMDARGS "${ARG}"
             ;;