This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Threads vs hpux10
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: law at redhat dot com
- Date: Fri, 30 Nov 2001 18:14:43 -0600 (CST)
- Subject: Re: Threads vs hpux10
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
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