[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46921E87.8000309@googlemail.com>
Date: Mon, 09 Jul 2007 13:39:51 +0200
From: Gabriel C <nix.or.die@...glemail.com>
To: Jan Engelhardt <jengelh@...putergmbh.de>
CC: Alexey Dobriyan <adobriyan@...il.com>,
Jesper Juhl <jesper.juhl@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
sam@...enborg.org
Subject: Re: [PATCH] fixup binutils printing from scripts/ver_linux
Jan Engelhardt wrote:
> On Jul 9 2007 04:39, Gabriel C wrote:
>
>>> NAK. It starts reporting here empty binutils field.
>>> FWIW,
>>>
>>> $ ld -v
>>> GNU ld version 2.16.1
>>>
>>>
>> Well the format changed so now we have :
>>
>> $ ld -v
>> GNU ld (Linux/GNU Binutils) 2.17.50.0.16.20070511
>>
>
> Adding to the collection:
> 12:39 ichi:~ > ld -v
> GNU ld version 2.17.50.0.5 20060927 (SUSE Linux)
>
>
>
Uhh :) Ok here an ugly one :
$ ld -v | sed 's/.*version//;s/.*Binutils)//'|awk '{print $1}'|tr -d ' '
2.17.50.0.16.20070511
$ echo 'GNU ld version 2.17.50.0.5 20060927 (SUSE Linux)' | sed
's/.*version//;s/.*Binutils)//'|awk '{print $1}'|tr -d ' '
2.17.50.0.5
$ echo 'GNU ld version 2.16.1' | sed 's/.*version//;s/.*Binutils)//'|awk
'{print $1}'|tr -d ' '
2.16.1
Gabriel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists