gnu ld version check in libstdc++-v3/acinclude.m4
Ian Lance Taylor
iant@google.com
Tue Feb 20 18:28:00 GMT 2007
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
More information about the Libstdc++
mailing list