Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk
From: Larry Baker (baker_at_[hidden])
Date: 2012-11-14 21:17:01


> Ick - usually tools support some kind of version option. :-(

In the olden days, -V (big V) was a reasonably standard request for version no. (little V being verbosity). The GHNU command line parsing added the wordy options preceded by double dashes. Unfortunately, gcc does not follow this convention (aargh).

> savaii:~ baker$ gcc -V
> gcc-4.2: argument to `-V' is missing

> savaii:~ baker$ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

Larry Baker
US Geological Survey