pthread option documentation

Jonathan Wakely jwakely.gcc@gmail.com
Tue Apr 30 09:02:00 GMT 2013


On 30 April 2013 01:34, NightStrike wrote:
> I'm a little confused on the documentation of the -pthread option.
> I'm posting to gcc-help because I assume by default that I'm just
> misunderstand things :)
>
> http://gcc.gnu.org/onlinedocs/gcc/Option-Index.html
>
> On that page, if you scroll down to pthread, the option appears to
> only apply to a couple of weird targets:
>
> Solaris 2
> RS/6000
> PowerPC
>
> But yet I've used this on many platforms, and I have found it to be
> required to use pthreads on linux.  Am I reading the docs wrong?

No, the docs are just incomplete, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16519



More information about the Gcc-help mailing list