Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add an option to get the compiler version, change the manpages accordingly
[simgrid.git] / src / smpi / smpiff.in
index 8bb046e..1c6308d 100644 (file)
@@ -49,10 +49,13 @@ while [ $# -gt 0 ]; do
             SRCFILE="${TMPFILE}"
             list_add CMDLINE "${SRCFILE}"
             ;;
-        '-version' | '--version' | '-v')
+        '-version' | '--version')
             printf '%b\n' "$SIMGRID_VERSION"
             exit 0
             ;;
+        '-compiler-version' | '--compiler-version')
+            ${F77} --version
+            ;;
         -o)
             NEEDS_OUTPUT=0
             list_add CMDLINE "-o"