From Arne.Kovac@uni-essen.de  Thu Jun 10 15:02:31 1999
From: Arne.Kovac@uni-essen.de (Arne Kovac)
Date: Thu, 10 Jun 1999 16:02:31 +0200 (DFT)
Subject: dynload for R on AIX (>= 4.2)
In-Reply-To: <14175.31960.993123.79902@galadriel.ci.tuwien.ac.at>
Message-ID: <Pine.A41.4.02.9906101559040.12136-100000@cauchy.mathematik.uni-essen.de>

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


dynload for R on AIX (>= 4.2)
Arne Kovac