looking for thread_safe_eh_patch

David Edelsohn dje@watson.ibm.com
Sat Jan 10 19:20:00 GMT 1998


>>>>> Sundar Narasimhan writes:

> While EGCS now implements the appropriate compiler options to
> enable threads support on AIX, that is not enabled by default -- this
> affects both EH threads and Objective C.  There also is a question of what
Sundar> Can you tell me how I can go about enabling threads support on AIX? 

	-mthreads -- see the EGCS documentation.

Sundar> macros signifying threading support enabled should be tested in the EH
Sundar> threading support changes.  I suggested that the library should recognize
Sundar> AIX's own standard macro, as the library does for other OSes, instead of
Sundar> defining its own.
Sundar> Ok, but what do I need to do in order to include these tests? (Do you
Sundar> mean the errno change or something else?)

	The library should be testing for _THREAD_SAFE macro on AIX.  I
think that it tests for _REENTRANT or something like that used by some of
the OSes.

	None of the GCC support libraries are built with -mthreads option
(and we have not yet added that to the already large number of multilib
permutations for AIX).

David



More information about the Gcc mailing list