This is the mail archive of the gcc@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]

Re: system threads library


> 
> 
> 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)


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