[Rd] AIX linking

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 2 09:14:39 CEST 2006


We had four years ago

http://tolstoy.newcastle.edu.au/R/devel/02a/0440.html

It looks as if the export files are not required if runtime linking is 
used, e.g.

http://www.ethereal.com/lists/ethereal-dev/200001/msg00027.html

suggests -bexpall -bnoentry suffices.

This suggests that we should be linking the main R.bin executable with

	ld -brtl -bexpall -bnoentry

rather than configure's

	ld -bdynamic -bM:SRE -bE$(top_builddir)/etc/R.exp

and linking dynamic libraries such as libRlapack.so with

	ld -G -bexpall -bnoentry

(If used from gcc, escape all these with -Wl, )

Does anyone know for sure?

We really need some help from the AIX community to resolve these 
long-standing issues.


-- 
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