> From: Depire Alexandre
>
> On windows, I install the last version of MinGW, I change
> path environment
> variable,
> but when on command windows, I try to compute "R CMD SHLIB
> inv.c" I have the
> following error:
> 'make' is unknown.
>
> I have "mingw32-make.exe", but R don't use it, ?? I think it
> is'nt normal, but
> I don't know how change the name of it in R.
>
Confusion is the price you pay for not following the directions given. You
need to download and install the tools in Rtools.zip as mentioned in
README.packages, and have it the the appropriate position in the PATH, as
also mentioned in README.packages.
Andy
>
> Le vendredi 4 F?vrier 2005 18:37, Prof Brian Ripley a ?crit :
> > On Fri, 4 Feb 2005, Uwe Ligges wrote:
> > > Depire Alexandre wrote:
> > >> Hello,
> > >> I develop some R package on Linux machine with C subroutines.
> > >> The programs in C are well compiled on Linux machine and
> so I have some
> > >> ".so" files.
> > >>
> > >> Now, I want to do the same work on windows, so I install
> R (the last
> > >> version) on windows, with Active Perl and djgpp, which
> is, as I know,
> > >> the gcc version for windows (to compile C program), but
> unfortunately
> > >> when I run "R CMD SHLIB inv.c, ", I have an error.
> > >> I think it's a problem with my choice of compiler C,
> could somebody give
> > >> to me the name of good compiler to do that ?
> > >
> > > Please read the R for Windows FAQ 3.1 "Can I install
packages into
> > > libraries in this version?".
> > > It points you to README.packages,
> > > http://www.murdoch-sutherland.com/Rtools/ , and tells you
> "Note that this
> > > is rather tricky; please do ensure that you have followed the
> > > instructions exactly."
> >
> > To reinforce that, djgpp is a DOS (extender) and not a
> Windows compiler.
> > You need a native Windows compiler, from www.mingw.org, and
> currently we
> > suggest the release candidate of MinGW-3.2.0 (which
> postdates the details
> > in the last release of R, 2.0.1).
>
> --
> ----------------
> Alexandre DEPIRE
> INRETS / GARIG
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>