[R] gcc.exe: unrecognized option `-shared' encountered (building R on Windows)

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu May 31 08:30:26 CEST 2001


On Wed, 30 May 2001, Neil Osborne wrote:

> Dear All,
>
> I've followed all the instructions in the documentation for building

It seems you haven't. The recommended compiler (see file INSTALL) does use
--shared.  Also, MkRules does contain a flag HAVE_SHARED which you can
comment out if you have a non-recommended compiler.

You also sent the comments to the maintainers (as documented) _and_ to
R-help (not in the documentation).

> a Windows Port of R (1.2.2). I have almost managed to get it to
> build. but it falls over at the end - when its creating (I think)
> the R.dll.
>
> I'm using the MINGW binaries in conjunction with the extracted binaries from
> the latest tools.zip archive.

There are lots of sets of Mingw compilers, and you have too ancient a set.

[...]

-- 
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 mailing list