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: "Joseph S. Myers" <joseph at codesourcery 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: Tue, 20 Feb 2007 13:36:29 +0000 (UTC)
- Subject: Re: gnu ld version check in libstdc++-v3/acinclude.m4
- References: <Pine.LNX.4.64.0702201326390.18923@zhemvz.fhfr.qr>
On Tue, 20 Feb 2007, Richard Guenther wrote:
> ! sed -e 's/GNU ld version \(([^(]*)\)\? \?\([0-9.][0-9.]*\).*/\2/'`
It might be a good idea to remove the check for the word "version" here -
"version" is not part of the GNU Coding Standards --version output so
might go away. Standard would be more like
GNU ld (GNU Binutils 2.17.50 20070220) 2.17.50
where the text after the last space is the real version number, and
--with-pkgversion replaces the "GNU Binutils 2.17.50 20070220" with your
name and version number for your binutils package. I simply didn't fix
all pre-existing problems with --version output when adding
--with-pkgversion support.
--
Joseph S. Myers
joseph@codesourcery.com