-D_REENTRANT on Solaris
Ovidiu Predescu
ovidiu@slip.net
Thu Oct 22 05:46:00 GMT 1998
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
More information about the Gcc
mailing list