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]

-D_REENTRANT on Solaris



Hi,

When compiling code for Solaris that uses threads we have to define the
_REENTRANT macro so that the thread-safe system functions are used instead. We
have to do this at least for the Objective-C runtime library, but this may also
be the case for libgcc2.

Is it OK to add this to the GTHREAD_FLAGS variable in gcc/Makefile when egcs is
configured to use threads on Solaris?

Ovidiu




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