From c71b316b7a012c3b14c9d9736838ffc286a73a51 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Sun, 8 Jan 2017 21:39:24 -0500 Subject: re PR other/16519 (-pthread undocumented) 2017-01-08 Sandra Loosemore PR other/16519 gcc/ * doc/invoke.texi (Option Summary): Move -pthread to Linker Options and Preprocessor Options. (Options for Linking): Document -pthread here.... (RS/6000 and PowerPC Options): ...not here. (Solaris 2 Options): ...or here. * doc/cppopts.texi: Document -pthread. From-SVN: r244214 --- gcc/doc/cppopts.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/doc/cppopts.texi') diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 80f3ba3..0497712 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -69,6 +69,13 @@ standard predefined macros remain defined. @xref{Standard Predefined Macros}. @end ifset +@item -pthread +@opindex pthread +Define additional macros required for using the POSIX threads library. +You should use this option consistently for both compilation and linking. +This option is supported on GNU/Linux targets, most other Unix derivatives, +and also on x86 Cygwin and MinGW targets. + @item -M @opindex M @cindex @command{make} -- cgit v1.1