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

Public GIT Repository
store the int in a long-enough char array
[simgrid.git] / src / smpi / smpicxx.in
index 7026936fd7c98a8256c39481c78f4023a197b99e..b23a2740ff1b71df21a474c595caf49584625093 100755 (executable)
@@ -42,10 +42,13 @@ while [ $# -gt 0 ]; do
             fi
             list_add CMDARGS "${SRCFILE}"
             ;;
-        "-version" | "--version" | "-v")
-            echo -e $SIMGRID_VERSION
+        '-version' | '--version')
+            printf '%b\n' "$SIMGRID_VERSION"
             exit 0
             ;;
+        '-compiler-version' | '--compiler-version')
+            ${CXX} --version
+            ;;
         *)
             list_add CMDARGS "${ARG}"
       ;;