.SH SYNOPSIS
smpicc …
.SH DESCRIPTION
-smpicc is just a wrapper around the C compiler used to build simgrid, adding the right flags in order to use the simgrid library and SMPI, the MPI implementation within it. Any arguments filled to smpicc will be passed to the underlying compiler directly, of which the \fB\-\-version\fR argument should give the name and the version. Please refer to its documentation in case of trouble.
+smpicc is a wrapper around the C compiler defined when building SimGrid, adding the right flags in order to use the SimGrid library and SMPI, the MPI implementation within it. Most of the arguments filled to smpicc will be passed to the underlying compiler directly, except for \fB\-\-version\fR which gives the SimGrid library version, and \fB\-\-compiler-version\fR which gives the C compiler version. Please refer to the latter documentation in case of trouble.
.SH ENVIRONMENT VARIABLES
-All environment variables taken into account by the underlying compiler will be used, but note that the compiler can not be modified.
+All environment variables taken into account by the underlying compiler will be used by it, but note that the compiler can not be modified.
.SH AUTHORS
The SimGrid team (simgrid-devel@lists.gforge.inria.fr)
.SH COPYRIGHT AND LICENCE
.SH SYNOPSIS
smpicxx …
.SH DESCRIPTION
-smpicxx is just a wrapper around the C++ compiler used to build simgrid, adding the right flags in order to use the simgrid library and SMPI, the MPI implementation within it. Any arguments filled to smpicxx will be passed to the underlying compiler directly, of which the \fB\-\-version\fR argument should give the name and the version. Please refer to its documentation in case of trouble.
+smpicxx is a wrapper around the C++ compiler defined when building SimGrid, adding the right flags in order to use the SimGrid library and SMPI, the MPI implementation within it. Most of the arguments filled to smpicxx will be passed to the underlying compiler directly, except for \fB\-\-version\fR which gives the SimGrid library version, and \fB\-\-compiler-version\fR which gives the C++ compiler version. Please refer to the latter documentation in case of trouble.
.SH ENVIRONMENT VARIABLES
-All environment variables taken into account by the underlying compiler will be used, but note that the compiler can not be modified.
+All environment variables taken into account by the underlying compiler will be used by it, but note that the compiler can not be modified.
.SH AUTHORS
The SimGrid team (simgrid-devel@lists.gforge.inria.fr)
.SH COPYRIGHT AND LICENCE
.TH smpif90 1
.SH NAME
-smpif90 \- SMPI fortran 90 wrapper compiler
+smpif90 \- SMPI Fortran 90 wrapper compiler
.SH SYNOPSIS
smpif90 …
.SH DESCRIPTION
-smpif90 is just a wrapper around the Fortran 90 compiler used when building simgrid, adding the right flags in order to use the simgrid library and SMPI, the MPI implementation within it. Any arguments filled to smpiff will be passed to the underlying compiler directly, of which the \fB\-\-version\fR argument should give the name and the version. Please refer to its documentation in case of trouble.
+smpif90 is a wrapper around the Fortran 90 compiler defined when building SimGrid, adding the right flags in order to use the SimGrid library and SMPI, the MPI implementation within it. Most of the arguments filled to smpif90 will be passed to the underlying compiler directly, except for \fB\-\-version\fR which gives the SimGrid library version, and \fB\-\-compiler-version\fR which gives the F90 compiler version. Please refer to the latter documentation in case of trouble.
.SH ENVIRONMENT VARIABLES
-All environment variables taken into account by the underlying compiler will be used, but note that the compiler can not be modified.
+All environment variables taken into account by the underlying compiler will be used by it, but note that the compiler can not be modified.
.SH AUTHORS
The SimGrid team (simgrid-devel@lists.gforge.inria.fr)
.SH COPYRIGHT AND LICENCE
.TH smpiff 1
.SH NAME
-smpiff \- SMPI fortran 77 wrapper compiler
+smpiff \- SMPI Fortran 77 wrapper compiler
.SH SYNOPSIS
smpiff …
.SH DESCRIPTION
-smpiff is just a wrapper around the Fortran 77 compiler used when building simgrid, adding the right flags in order to use the simgrid library and SMPI, the MPI implementation within it. Any arguments filled to smpiff will be passed to the underlying compiler directly, of which the \fB\-\-version\fR argument should give the name and the version. Please refer to its documentation in case of trouble.
+smpiff is a wrapper around the Fortran 77 compiler defined when building SimGrid, adding the right flags in order to use the SimGrid library and SMPI, the MPI implementation within it. Most of the arguments filled to smpiff will be passed to the underlying compiler directly, except for \fB\-\-version\fR which gives the SimGrid library version, and \fB\-\-compiler-version\fR which gives the F77 compiler version. Please refer to the latter documentation in case of trouble.
.SH ENVIRONMENT VARIABLES
All environment variables taken into account by the underlying compiler will be used, but note that the compiler can not be modified.
.SH AUTHORS
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}"
;;
fi
list_add CMDARGS "${SRCFILE}"
;;
- "-version" | "--version" | "-v")
+ '-version' | '--version')
printf '%b\n' "$SIMGRID_VERSION"
exit 0
;;
+ '-compiler-version' | '--compiler-version')
+ ${CXX} --version
+ ;;
*)
list_add CMDARGS "${ARG}"
;;
SRCFILE="${TMPFILE}"
list_add CMDLINE "${SRCFILE}"
;;
- '-version' | '--version' | '-v')
+ '-version' | '--version')
printf '%b\n' "$SIMGRID_VERSION"
exit 0
- ;;
+ ;;
+ '-compiler-version' | '--compiler-version')
+ ${F90} --version
+ ;;
*)
list_add CMDLINE "${ARG}"
;;
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"