This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] Avoid invoking ranlib on libbackend.a


On Mon, Jul 18, 2016 at 9:53 AM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> On Mon, Jul 18, 2016 at 09:05:13AM -0400, Patrick Palka wrote:
>> On Mon, Jul 18, 2016 at 8:44 AM, Segher Boessenkool
>> <segher@kernel.crashing.org> wrote:
>> > On Mon, Jul 18, 2016 at 06:35:11AM -0500, Segher Boessenkool wrote:
>> >> Or, if using GNU ar, you can even use -S, if that helps (after testing
>> >> for it in configure, of course).
>> >
>> > I meant -T.  Some day I will learn how to type, promise!
>>
>> This really helps!   libbackend.a gets built instantly with -T.
>
> Yes, but how does it influence link time?

No significant influence.  Linking cc1plus takes about 6 seconds on my
machine regardless of whether libbackend.a is built with -T or not.

>
>
> Segher


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