[R] Building a dll for windows

Philippe Grosjean phgrosje at ulb.ac.be
Wed Sep 19 15:35:17 CEST 2001


Victor Moreno wrote:
>This is a recurrent question but could not find the answer in the
>documentation.

>I want to build a dll for windows from a fortran program to be loaded with
>dyn.load. I can do it easily for linux with: g77 -shared -o foo.dll foo.f

>The g77 compiler (mingw-1.01) for windows does not recognise the -shared
>option.

>In windows the Writing extensions manual tells to use Rcmd SHLIB but I
can't
>find Rcmd

You don't tell which R version you have, but in v. 1.3.x, Rcmd.exe is in the
\bin subdirectory.
All the best,

Philippe Grosjean


...........]<(({°<...............<°}))><...............................
 ) ) ) ) )	 __               	 __
( ( ( ( ( 	|__)              	|  _
 ) ) ) ) )	|   hilippe       	|__)rosjean
( ( ( ( ( 	Marine Biol. Lab., ULB, Belgium
 ) ) ) ) )	                  	 __
( ( ( ( ( 	|\  /|            	|__)
 ) ) ) ) )	| \/ |ariculture &	|__)iostatistics
( ( ( ( (
 ) ) ) ) )	e-mail: phgrosje at ulb.ac.be or phgrosjean at sciviews.org
( ( ( ( ( 	SciViews project coordinator (http://www.sciviews.org)
 ) ) ) ) )      tel: 00-32-2-650.29.70 (lab), 00-32-2-673.31.33 (home)
( ( ( ( (
 ) ) ) ) )      "I'm 100% confident that p is between 0 and 1"
( ( ( ( (                                  L. Gonick & W. Smith (1993)
 ) ) ) ) )
.......................................................................


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list