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]

-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/


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