This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] Addition of new option '--rlib' in linker for Renesas SH targets


On 04 July 2006 09:21, Gina Verlekar wrote:

> Hi,
> 
>> You could instead have (simplified):
> 
>> rlibextract $(renesaslib) $(outputdir)
>> ar q librenlib.a $(outputdir)/*
>> ld $(objects) -lrenlib
> 
>> rlibextract being your new tool.
>> It would reduce code duplication,
>> you would be able to maintain it with a different release cycle from
>> binutils, *and* it could be used with older binutils versions.
>> Wouldn't this be better? Or am I missing something?
> 
> Thank you for your suggestion.
> We agree to you that a separate utility to generate a GNU archive from
> Renesas library file is better idea. We will surely implement it. It
> would
> be better to invoke "ar" internally from this utility. This will help
> user
> to get GNU archive directly.

  And of course, if there's a new release of binutils with a new improved
version of ar, your utility benefits automatically, without needing to
maintain the code you were going to add separately! :)


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]