]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpicc.in
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix [#17799] : have mpi_group_range_incl and mpi_group_range_excl better test some...
[simgrid.git] / src / smpi / smpicc.in
index db707965d17bed7413496833307983c89a50a630..6902a25e2f333d78a3994bd085b6abba28815704 100755 (executable)
@@ -42,11 +42,13 @@ while [ $# -gt 0 ]; do
             fi
             list_add CMDARGS "${SRCFILE}"
             ;;
-        '-version' | '--version' | '-v')
-            # -e is not recognised by MS-DOS...
-            echo -e $SIMGRID_VERSION
+        '-version' | '--version')
+            printf '%b\n' "$SIMGRID_VERSION"
             exit 0
-            ;;           
+            ;;
+        '-compiler-version' | '--compiler-version')
+            ${CC} --version
+            ;;
         *)
             list_add CMDARGS "${ARG}"
             ;;