LD Changes To Implicit DSO Linking Update - pthread question

Roland McGrath roland at redhat.com
Mon Feb 15 19:17:48 UTC 2010

> But I'm asking about -pthread option (which is detect/use for this package).

-pthread is the same as -D_REENTRANT at the beginning (which is useless)
and -lpthread at the end.  I don't recommend using it at all.  Just use
-lpthread instead (at the end of the link line, like all other libraries).


More information about the devel mailing list