svn commit: r40394 - head/en_US.ISO8859-1/books/porters-handbook
Eitan Adler
eadler at FreeBSD.org
Sun Dec 16 22:56:37 UTC 2012
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
More information about the svn-doc-head
mailing list