[R] Building a dll for windows
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Sep 19 16:50:49 CEST 2001
On Wed, 19 Sep 2001, Victor Moreno wrote:
> 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.
Just to add a small piece: with that compiler g77 --shared -o foo.dll
foo.f works for me. Note, --shared.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
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