RFC: [Long] Change PTHREAD_LIBS to -pthread for -CURRENT

Michael Nottebrock michaelnottebrock at gmx.net
Tue Jun 8 08:20:54 GMT 2004

On Tuesday 08 June 2004 07:39, Joe Marcus Clarke wrote:

> To get around this, we can use -pthread to link shared objects as well
> as executables. 

And there is another thing: I seem to remember that the getting rid of 
-pthread (I remember at one time -pthread was completely gone from gcc in 
-CURRENT, why this was reversed I don't know) was meant to facilitate using 
one of the three threads-libraries now available in -CURRENT: libc_r, 
libpthread (formerly libkse) and libthr. How is this supposed to be possible 
with -pthread? And if -pthread will always link to libpthread, won't the 
problem then still be the same if someone chooses to set PTHREAD_LIBS to 

   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040608/571c35bb/attachment.bin

More information about the freebsd-ports mailing list