This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: system threads library
- To: ovidiu at slip dot net (Ovidiu Predescu)
- Subject: Re: system threads library
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 22 Oct 1998 10:04:13 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
>
> Hi,
>
> The Objective-C testsuite fails when egcs is compiled with threads support
> because the test programs are not linked against the target's threads library.
> This may also cause problems for test programs that need to check thread-safe
> functionality, because the knowledge about the thread library to link against
> is not currently present.
>
> I would like to add support in configure for specifying for each system the
> name of the threads library. Can I start implementing this or is somebody else
You can just follow what the thread-safe exception does. The way
it works supports both single and multiple thread applications in
one single version. It uses the weak symbol to do it when it is
available.
--
H.J. Lu (hjl@gnu.org)