Building a dll for windows
Peter Dalgaard BSA wrote:
Victor Moreno <v.moreno at ico.scs.es> writes:
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 Any help would be appreciated.
Rcmd SHLIB is exactly for sorting out these OS differences. Rcmd.exe should be sitting in the same directory as Rgui.exe. I'm not quite sure whether it is selectable during installation.
If installing from the SteupR.exe Wizard, you can choose "source package installation files".
Did you read http://www.stats.ox.ac.uk/pub/Rtools/ ? You might also want to have a look at the readme.packages file in the top R directory.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._