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: speedup collect2 (by not using it)


On Thursday, May 22, 2003, at 01:02 PM, Zack Weinberg wrote:
I think this is a fine idea in principle.  We need to nail down
precisely what collect2 is or is not used for, of course, and make
sure it's invoked when necessary.

I've done that as much as I can. The HP and AIX folks kicked in exactly what I hoped to hear.


Better check unified tree builds and the like, though.

It should not impact them any. What concerns do you have?


Would you mind restructuring things such that we don't have an #ifdef
here?  Put, say,

#ifndef USE_COLLECT2
#define USE_COLLECT2 0
#endif

at the top of the file, and then you can write

   if (USE_COLLECT2 || repo_flag)
     s = find_a_file (...);

which is neater.

Done:


Attachment: collect2-fsf-2.diffs
Description: Binary data


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