|
|||||||||||
|
Re: -lpthread
From: Todd T. Fries <todd(at)openbsd.org>
Date: Mon Mar 17 2003 - 07:39:17 EST Once in a while someone asks this question. Once in a while we must remind them: gcc [..] -o someprogram [..] -pthread [..] Is doing this under the hood: gcc [..] -o someprogram [..] -lpthread [..] However, at some future point it may do more, or it may do things differently. There are misc reasons to use '-pthread' over '-lpthread' on OpenBSD, the bottom line is that there should never be any reason to ever use '-lpthread' other than 'a port has not yet been fixed to do so'. There are possibilities in the future that '-pthread' may do more than just '-lpthread'. It allows us to tweak things under the hood, via the specs file, that '-lpthread' does not. Oh, what arch are you compiling on?
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:43:42 EDT |
||||||||||
|
|||||||||||