Skip to content

Rcmd SHLIB problem

2 messages · Liaw, Andy, Brian Ripley

#
Yes, changing line 67 of SHLIB as Uwe suggested worked:

C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
rm -f -f tryf.a
ar cr tryf.a *.o
ranlib tryf.a
------- Building tryf.dll from tryf.a --------
echo LIBRARY tryf > tryf.def
echo EXPORTS >> tryf.def
nm tryf.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> tryf.def
rm -f Defs
gcc  --shared -s  -o tryf.dll tryf.def tryf.a  -Lc:/progra~1/R/rw1031/src/
gnuwin32  -lg2c -Lc:/Rtools/ATLAS/lib/WinNT_PIIISSE1 -lcblas -lf77blas
-latlas -lR

Thanks very much for the (temporary) solution.  The question is, could this
be a permanent fix?

Regards,
Andy
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Wed, 12 Dec 2001, Liaw, Andy wrote:

            
No.  It only works for one input file.  The quotes were not there for fun!
(Also names with spaces in.)

We think this may be a perl version problem.  Uwe has build 623. I have
build 630.  Quite a few things malfunctioned with 623 for me under Windows
98.  What do you have?