Binutils version check doesn't like Ubuntu

Matthew Burgess matthew at
Mon Oct 6 23:44:04 PDT 2008

On Mon, 06 Oct 2008 17:16:40 -0400, George Boudreau <georgeb at> wrote:
> Matthew Burgess wrote:
>> Hi all,
>> Now that I've got George & Thomas' attention :-)
>> In order to have jhalfs correctly detect the version of binutils that my
> host, Kubuntu, installs, I have to change the version check from:
>> $(ld --version | head -n1 | cut -d" " -f4)
>> To
>> $(ld --version | head -n1 | awk '{print $NF}')
>> For info, 'ld --version' on this system is "GNU ld (GNU Binutils for
> Ubuntu)".
>> Is this change suitable for jhalfs trunk?
>    No problem parsing a plain vanilla binutils. I have added the change
> to the trunk (sorry, forget to add your name to the commit)

Much appreciated, George.  I'll try and kick of a build tonight with jhalfs-trunk & LFS-trunk.

Oh, and don't worry about my name in the commit!



More information about the alfs-discuss mailing list