Hello:
My apologies for an earlier post on this topic for which I got one of
those stupid yahoo accounts, our email server having been down for two
days now...
Many thanks to Professor Ripley for responding to my
earlier post, included below, about trying to use mingw32 gcc.
I cannot make libR.a under Windows NT.
Here is what I did, basd on readme.packages:
1.) Ensured that C:\Rtools was first in my path, and
obtained a new tools.zip from BDR's R tools site.
2.) Ensured that I do have Mingw-1.1, whose bin directory is
in my path. Here is my path:
C:\rw1051\src\gnuwin32>path
PATH="C:\Rtools\";C:\Perl\bin;"C:\Mingw-1.1\bin";"C:\Rw1051\bi
n";C:\WINNT\system
32;C:\WINNT;"D:\Program
Files\Hummingbird\Connectivity\7.00\Accessories\";C:\Min
gw-1.1\bin;
3.) Installed ActivePerl 5.6.1.
4.) Set R_HOME to C:\Rw1051
5.) edited MkRules: set only HEADER=C:\mingw-1.1\include
6.) Tried to make make libR.a:
C:\rw1051\src\gnuwin32>make libR.a
dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a
make: dlltool: Command not found
make: *** [libR.a] Error 127
Now, dlltool.exe is in mingw-1.1\bin, which is in my path. I
have no idea why that file is not found!
I tried a google search and found some earlier reports of
Error 127 and dlltool problems with R, but most seem to
involve using rcmd INSTALL.
What is my next step here? Have i missed something obvious
in readme.packages? Thanks in advance...
Tom Richards
> -----Original Message-----
> From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk]
> Sent: Saturday, August 10, 2002 2:57 PM
> To: Richards, Tom
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] R and gcc, yet again
>
>
> On Sat, 10 Aug 2002, Richards, Tom wrote:
>
> > Hello:
> >
> > I have not compiled C code for R since around version
> 1.1.0, and i see that
> > I am really missing something here. I am using widoes and
> mingw32 port of
> > gcc. Now, as usual I have gone into Rinternals.h and
> physically changed all
> > declarations of functions returning SEXP's to
> >
> > __declspec(dllimport) SEXP
> >
> > but I still am getting repeated crashes of R. Do any
> windows users know
> > what I am forgetting to do here? Thanks in advance.
>
> Not leaving things alone? There is no need to change the
> header files if
> you follow exactly the documented procedures.
>
> --
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
>
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:
: Thomas J. Richards _/ _/ _/_/_/ _/_/ _/_/_/ :
: Statistician _/ _/ _/ _/ _/ _/ _/ :
: Biostatistics Center _/ _/ _/ _/ _/ _/ :
: U. Pittsburgh Cancer Institute _/ _/ _/_/_/ _/ _/ :
: 3600 Forbes Ave Suite 400A _/ _/ _/ _/ _/ _/ :
: Pittsburgh, PA 15213 _/_/ _/ _/_/ _/_/_/ :
: 412-647-6852 fax: 412-647-5687 :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._