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: Threads vs hpux10


In article <32210.1007150049@porcupine.cygnus.com> you write:

> Due to the lack of weak symbol support it is necessary to build different
> versions of libgcc and other target libraries for single and multi-threaded
> uses.

>        * gthr-dce.h: If _DCE_THREADS is not defined, then just include
>        gthr-single.

Hi Jeff,

This e-mail is just to advise you that I think you solved the same
problem AIX had (no weak symbols and thus always needing to link
against the threading library) with a different solution.  The
solution they use with multilibs was to have `gcc -v' report single as
the threading model in one multilib configuration and the real thread
library in the other.

I don't care if they are different (although I personally like the AIX
solution better compared to yours for HPUX).  I could send you the
exact one-line patch they used, but it would not be till Monday.

Regards,
Loren


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