Binutils version check doesn't like Ubuntu

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


On Mon, 06 Oct 2008 17:16:40 -0400, George Boudreau <georgeb at linuxfromscratch.org> 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) 2.18.0.20080103".
>>
>> 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!

Regards,

Matt.




More information about the alfs-discuss mailing list