gnu ld version check in libstdc++-v3/acinclude.m4

Joseph S. Myers joseph@codesourcery.com
Tue Feb 20 13:36:00 GMT 2007


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



More information about the Libstdc++ mailing list