Long paths with ../../../../ throughout

Ian Lance Taylor iant@google.com
Tue Jul 5 18:37:00 GMT 2011


Jon Grant <jg@jguk.org> writes:

> Ian Lance Taylor wrote, On 03/07/11 05:27:
>> Jon Grant<jg@jguk.org>  writes:
> [.]
>>> Another reply for this old thread.  I wondered, if collect2 is
>>> possibly not needed in normal use on GNU/Linux, could GCC be
>>> configured to call ld directly in those cases to save launching
>>> another binary.
>>
>> collect2 is needed if you use -frepo or -flto.
>
> Hi Ian.
>
> Not sure how easy this is, but could those options simply be checked
> to determine if the linker could be called directly? Would save
> launching collect2 then, to speed up builds a bit!

Sure, that seems feasible.  Want to try to tackle it?

Ian



More information about the Gcc mailing list