This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Comments wanted on an idea of changing the binutils version
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Christian Jönsson <c dot christian dot joensson at telia dot com>
- Cc: Gcc <gcc at gcc dot gnu dot org>
- Date: Fri, 8 Mar 2002 00:20:23 +0000 (GMT)
- Subject: 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