[Rd] R's --enable-threads does nothing?; gdb needs -lpthread

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 6 08:07:55 CEST 2009

On Mon, 5 Oct 2009, Andrew Piskorski wrote:

> In the R-2-9-branch (svn revision 49914, 2009-09-24), R's configure
> script has an "--enable-threads" option.  But, does it do anything
> useful?  When I use "--enable-threads=posix", some of the configure
> output changes slightly, but it seems to have no effect on the actual
> link commands used when building R.  Is that a bug, or am I
> misunderstanding what it's supposed to do?

The latter.  It's part of the libintl (aka gettext-runtime) 
configuration code included in R, and is not present in the currently 
active branches.  It affects how libintl works when src/extra/intl in 
the R sources is built -- whether it is by default depends on the OS.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list