public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel C <nix.or.die@googlemail.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	Jesper Juhl <jesper.juhl@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	sam@ravenborg.org
Subject: Re: [PATCH] fixup binutils printing from scripts/ver_linux
Date: Mon, 09 Jul 2007 13:39:51 +0200	[thread overview]
Message-ID: <46921E87.8000309@googlemail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0707091241280.32335@fbirervta.pbzchgretzou.qr>

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

  parent reply	other threads:[~2007-07-09 11:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-08 23:47 [PATCH] fixup binutils printing from scripts/ver_linux Jesper Juhl
2007-07-09  2:06 ` Alexey Dobriyan
2007-07-09  2:39   ` Gabriel C
2007-07-09 10:41     ` Jan Engelhardt
2007-07-09 11:33       ` drop it ?(Re: [PATCH] fixup binutils printing from scripts/ver_linux) Oleg Verych
2007-07-09 12:20         ` Oleg Verych
2007-07-09 18:42           ` Jan Engelhardt
2007-07-09 11:39       ` Gabriel C [this message]
2007-07-09 11:44         ` [PATCH] fixup binutils printing from scripts/ver_linux Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46921E87.8000309@googlemail.com \
    --to=nix.or.die@googlemail.com \
    --cc=adobriyan@gmail.com \
    --cc=jengelh@computergmbh.de \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravenborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox