[R] Building a dll for windows

Victor Moreno v.moreno at ico.scs.es
Wed Sep 19 18:53:31 CEST 2001

This is a recurrent question but could not find the answer in the 

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 

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

Any help would be appreciated.

Victor Moreno
Catalan Institute of Oncology
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