From: Eric Botcazou Date: Tue, 13 Jul 2004 10:50:27 +0000 (+0200) Subject: re PR target/12602 (-pthreads and -threads undocumented for Solaris/SPARC) X-Git-Tag: releases/gcc-3.3.5~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69169d47b75544848b4375b70f6cad5fcab465fc;p=thirdparty%2Fgcc.git re PR target/12602 (-pthreads and -threads undocumented for Solaris/SPARC) PR target/12602 * doc/invoke.texi (SPARC options): Document -threads and -pthreads on Solaris. Co-Authored-By: Martin Sebor From-SVN: r84614 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e39497425f4..112c1a97f23d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-07-13 Eric Botcazou + Martin Sebor + + PR target/12602 + * doc/invoke.texi (SPARC options): Document -threads + and -pthreads on Solaris. + 2004-07-12 Eric Botcazou * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index bcba7c4175d3..1b92a84a214d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -347,7 +347,8 @@ in the following sections. -mno-faster-structs -mno-flat -mno-fpu @gol -mno-impure-text -mno-stack-bias -mno-unaligned-doubles @gol -msoft-float -msoft-quad-float -msparclite -mstack-bias @gol --msupersparc -munaligned-doubles -mv8} +-msupersparc -munaligned-doubles -mv8 +-threads -pthreads} @emph{ARM Options} @gccoptlist{-mapcs-frame -mno-apcs-frame @gol @@ -5961,6 +5962,24 @@ when making stack frame references. Otherwise, assume no such offset is present. @end table +These switches are supported in addition to the above on Solaris: + +@table @gcctabopt +@item -threads +@opindex threads +Add support for multithreading using the Solaris threads library. This +option sets flags for both the preprocessor and linker. This option does +not affect the thread safety of object code produced by the compiler or +that of libraries supplied with it. + +@item -pthreads +@opindex pthreads +Add support for multithreading using the POSIX threads library. This +option sets flags for both the preprocessor and linker. This option does +not affect the thread safety of object code produced by the compiler or +that of libraries supplied with it. +@end table + @node ARM Options @subsection ARM Options @cindex ARM options