This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-pthread lacking documentation on *-linux-gnu and sysv5
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Kean Johnston <jkj at sco dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 27 Aug 2003 19:40:29 +0200 (CEST)
- Subject: -pthread lacking documentation on *-linux-gnu and sysv5
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/