Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 22:56:36 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40394 - head/en_US.ISO8859-1/books/porters-handbook
Message-ID:  <201212162256.qBGMuaoM066770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Dec 16 22:56:36 2012
New Revision: 40394
URL: http://svnweb.freebsd.org/changeset/doc/40394

Log:
  Modernize the 12.11 Threading Libraries section of the PH
  
  Approved by:	bcr (mentor)

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/book.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml	Sun Dec 16 22:56:30 2012	(r40393)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml	Sun Dec 16 22:56:36 2012	(r40394)
@@ -16140,8 +16140,8 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD
 
       <para>The threading library must be linked to the binaries using
 	a special linker flag <literal>-pthread</literal> on &os;.  If
-	a port insists on linking <literal>-lpthread</literal> or
-	<literal>-lc_r</literal> directly, patch it to use
+	a port insists on linking <literal>-lpthread</literal>
+	directly, patch it to use
 	<makevar>PTHREAD_LIBS</makevar> variable provided by the ports
 	framework.  This variable usually has the value of
 	<literal>-pthread</literal>, but on certain architectures and
@@ -16153,7 +16153,7 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD
 	<para>If building the port errors out with
 	  <literal>unrecognized option '-pthread'</literal> when
 	  setting <makevar>PTHREAD_LIBS</makevar>, it may be desirable
-	  to use <command>gcc</command> as linker by setting
+	  to use <command>cc</command> as linker by setting
 	  <makevar>CONFIGURE_ENV</makevar> to
 	  <literal>LD=${CC}</literal>.  The
 	  <literal>-pthread</literal> option is not supported by



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