Threading libraries
Jean-Baptiste Quenot
jbq at caraldi.com
Mon Apr 3 11:28:55 UTC 2006
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/
-------------- next part --------------
--- 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">
More information about the freebsd-ports
mailing list