This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: gnu ld version check in libstdc++-v3/acinclude.m4
- From: Ian Lance Taylor <iant at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 20 Feb 2007 10:27:32 -0800
- Subject: Re: gnu ld version check in libstdc++-v3/acinclude.m4
- References: <Pine.LNX.4.64.0702201326390.18923@zhemvz.fhfr.qr>
Richard Guenther <rguenther@suse.de> writes:
> > ld --version
> GNU ld version (SUSE Linux) 2.17.50.20070219 20070219
The GNU standards specify what --version output should look like.
This output does not match the GNU standard. That should be fixed in
the binutils, or in S.U.S.E.'s build.
Specifically:
@cindex canonical name of a program
@cindex program's canonical name
The first line is meant to be easy for a program to parse; the version
number proper starts after the last space. In addition, it contains
the canonical name for this program, in this format:
@example
GNU Emacs 19.30
@end example
The 20070219 above should be attached to the 2.17.50.20070219. Or
simply omitted--I don't know why the date is doubled.
Ian