dynload for R on AIX (>= 4.2)

Arne Kovac Arne.Kovac@uni-essen.de
Thu, 10 Jun 1999 16:02:31 +0200 (DFT)


On Thu, 10 Jun 1999, Friedrich Leisch wrote:

> Yes, if I understood AIX workings correct you have to have a text file
> of to-be-exported symbols at the time of linking a shared library,
> i.e. the linker is called like (this is pasted from a mail by Arne)
> 
> $(F77) -o module.so -bM:SRE -bE:module.exp -bnoentry $(OBJECTS) $(LIBDIR) $(LIBS)
> 
> where module.exp is a text file containing the names of symbols to be
> exported by module.so

I think you can skip creating the text file by changing the command line
options to

$(F77) -o module.so -bM:SRE -bexpall -bnoentry $(OBJECTS) $(LIBDIR)
$(LIBS)

ie replacing the -bE:module.exp option by -bexpall. This option is only
available in AIX 4.2 and later. I have just tried it and it appears to
work for me.

Maybe we are really getting somewhere!!

Arne



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._