Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 13:28:51 +0200
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Threading libraries
Message-ID:  <20060403112851.GC1591@vision.anyware>
In-Reply-To: <20060403080629.GA33153@xor.obsecurity.org>
References:  <20060331155131.GA78328@qlovarnika.bg.datamax> <20060402143328.GA27433@watt.intra.caraldi.com> <20060403064902.GA77780@qlovarnika.bg.datamax> <20060403075235.GB19483@vision.anyware> <20060403080629.GA33153@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Please   find  the   documentation   patch   attached,  apply   in
doc/en_US.ISO8859-1/books/porters-handbook.

Best regards,
-- 
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="20060403-freebsd-porter-handbook-pthread.txt"

--- book.sgml.orig	Mon Apr  3 13:11:37 2006
+++ book.sgml	Mon Apr  3 13:28:39 2006
@@ -9529,6 +9529,14 @@
 	  different values, so do not just hardcode
 	  <literal>-pthread</literal> into patches and always use
 	  <makevar>PTHREAD_LIBS</makevar>.</para>
+
+  <note>
+    <para>FreeBSD may use value <literal>-pthread</literal> for
+      <makevar>PTHREAD_LIBS</makevar>, but <command>ld</command> does not
+      support this.  In this case, it may be desirable to use
+      <command>gcc</command> as linker by setting
+      <makevar>CONFIGURE_ENV</makevar> to <literal>LD=${CC}</literal>.</para>
+  </note>
       </sect1>
 
       <sect1 id="dads-freedback">

--zhXaljGHf11kAtnf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060403112851.GC1591>