speedup collect2 (by not using it)
Matt Austern
austern@apple.com
Thu May 22 22:35:00 GMT 2003
On Thursday, May 22, 2003, at 03:27 PM, John David Anglin wrote:
>> In message <200305222040.QAA31262@makai.watson.ibm.com>, David
>> Edelsohn writes:
>>>>>>>> Mike Stump writes:
>>>
>>>> does collect2 ever do anything interesting when
>>>> USE_COLLECT2 isn't defined and -frepo isn't given? Problem areas
>>>> might
>>>> be IBM (COLLECT_EXPORT_LIST). If aix is a problem, we can always do
>>>> collect2 when COLLECT_EXPORT_LIST is defined.
>>>
>>> The GCC configuration for AIX always define use_collect2=yes
>>> because it needs collect2 to build the list of constructors.
>> Similarly for HPUX.
>
> This isn't true anymore under hpux11. On the 64-bit port, we
> don't use collect2. On the 32-bit port, we no longer use chatr.
But in any case, isn't this a bit tangential to the question Mike
asked? He asked what happens on systems where USE_COLLECT2
*isn't* defined, and you're talking about systems where it is (or at
least
was) defined.
--Matt
More information about the Gcc
mailing list