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]
Other format: [Raw text]

Re: -pthread lacking documentation on *-linux-gnu and sysv5


I think all targets which implement -pthread is not documented at all except for powerpc-aix.

Thanks,
Andrew Pinski


On Wednesday, Aug 27, 2003, at 13:40 US/Eastern, Gerald Pfeifer wrote:


I noticed that -pthread is supported on the following systems (on i386,
and, as far as I see, many other hardware platforms)

linux.h:#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
linux64.h:#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
sysv5.h:#define LIB_SPEC "%{pthread:-lthread} %{pthreadT:-lthreadT} \
sysv5.h:#define CPP_SPEC "%{pthread:-D_REENTRANT} %{pthreadT:-D_REENTRANT}"


but apparently not documented in our manuals.

Kean, would you mind having a look? (As for *-linux-gnu, we don't have
a specific maintainer, that's why I'm posting this to the gcc list.)

Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/





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