This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Comments wanted on an idea of changing the binutils version


On Thu, 7 Mar 2002, [iso-8859-1] Christian Jönsson wrote:

> > >         * gcc.c (option_map): Remove --version.
> > >         (process_command): Handle -fversion following the GNU Coding
> > >         Standards.  Partially addresses PR other/704.
> > 
> > Hmm.  Haven't tried this out since I can't bootstrap the 3.1 branch
> > on Solaris at the moment, but the GNU Coding standards specify the
> > behavior of --version, not of -fversion.  If we don't support --version
> > we do not comply.
> > 
> 
> We actually do, it's the comment "remove" that's a bit misleading
> here, it's not at that function anymore, it's implemented at an other
> place, where -fversion is impolemented. So, we comply I would claim.

The map of --version to -dumpversion was removed.  This means it gets
mapped to -fversion by the general map for --.  The driver then handles
-fversion, as it does -fhelp.  (-dumpversion continues to give just the
version number, as was already documented.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]