PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

H.J. Lu hjl.tools@gmail.com
Mon Nov 9 00:46:00 GMT 2009


On Sun, Nov 8, 2009 at 2:48 PM, Matthias Klose <doko@ubuntu.com> wrote:
> On 04.11.2009 00:28, H.J. Lu wrote:
>>
>> On Tue, Nov 3, 2009 at 3:23 PM, Roland McGrath<roland@redhat.com>  wrote:
>>>
>>> --with is wrong for this.  It's not about the ambient system built
>>> against.
>>> It's a feature selection for how you build binutils, which means
>>> --enable.
>>>
>>
>> Here is the updated patch.
>
> looks like the the bfd and opcodes libraries are not installed when
> configuring with --enable-gold=both and running make install.
>

Please more specific. It works for me:

[hjl@gnu-26 release]$ find -name lib*.*
./usr/local/lib64/libiberty.a
./usr/local/lib/libbfd.la
./usr/local/lib/libopcodes.a
./usr/local/lib/libbfd.a
./usr/local/lib/libopcodes.la
[hjl@gnu-26 release]$ find -name ld.*
./usr/local/bin/ld.bfd
./usr/local/bin/ld.gold

Please tell me exact difference between before and after the patch.

Thanks.

-- 
H.J.



More information about the Binutils mailing list