[Rd] Rcmd build 32bit-only package on win7 64 bit platform?
ligges at statistik.tu-dortmund.de
Tue Oct 19 14:45:43 CEST 2010
On 18.10.2010 22:01, Hans-Peter Suter wrote:
> Is it possible to suppress compiling for the x64 arch when doing 'Rcmd
R CMD build <mypkg> does not compile anything except for creating the
vignettes. Is this the case?
If so: During the pre-release cycle of R-2.12.0 we have not got any
report telling us this is a desirable feature.
> Such that the pre-compiled package for binary
> distribution only contains a 'lib/i386/mypkg.dll'.
> For CHECK (and also INSTALL) there is a '--no-multiarch' argument, but
> I didn't find something similar for build.
For now, you can use an only 32-bit installation of R in order to build.
Passing down a flag such as --no-multiarch will be considered.
> Otherwise, I suppose, I could
> - handle the problem in Makevars or Makefile or
> - build the shlib manually and put it at the correct place or
> - provide a placeholder library with C (my code is Delphi, 64bit
> should/will come next year)
> - (build inside a XP32bit VM)
> Are there any other packages which are 32bit only (for now)?
Yes, http://cran.r-project.org/bin/windows/contrib/2.12/@ReadMe tells us:
Cairo, RBrownie, RSvgDevice, RSVGTipsDevice, SNPassoc, coxphf, eco,
gcmrec, magnets, proj4, ripa, sampfling, survrec, yaml
are only available for 32-bit installations.
> Thanks for any advise,
> R-devel at r-project.org mailing list
More information about the R-devel