Commit 42722932 authored by Radford Neal's avatar Radford Neal

better install / config stuff for Windows

parent b4fecd75
......@@ -16,6 +16,10 @@ process for pqR is basically the same. However, there are some
configuration options specific to pqR that you may wish to set, as
described below, and in the R-admin manual.
The instructions here are for Linux or Unix (including Mac OS X and
Solaris). See src/gnuwin32/INSTALL for instructions on installing
pqR on Microsoft Windows systems.
Configuring pqR
......
R for Windows
=============
This distribution contains the sources to build pqR on Windows. See
the file `README' for fuller details (written for R-2.15.0, but
generally applicable to pqR).
This distribution contains the sources to build a port of R to run on
Windows. See the file `README' for fuller details, including how
to install the binary versions.
Details on building pqR are given in the `R Installation and
Administration Manual' in the doc/manual directory. An HTML version
is at doc/html/R-admin.html, unless you're using a development version
of pqR (from github).
The short version of these instructions, which may not always be
adequate, is as follows:
Building From Source on Windows
===============================
1) Obtain the pqR source from pqR-project.org, and untar it to
create a source directory. (This assume you already have a tar
program. If not, create an empty source directory, go on
to step (2), and then come back here, redoing steps (1) and (2)
with the real source directory.)
Details on building R are given in the `R Installation and
Administration Manual' in the doc/manual directory. An HTML version
is at doc/html/R-admin.html, unless you obtained R using Subversion.
2) Obtain Rtools215.exe distibuted at r-project.org (or get it
from http:pqR-project.org/Rtools215.exe). Run this to install
the required tools, choosing options appropriate for either
a 32-bit or 64-bit build, and specifying the source directory
you created in step (1) for the destination.
3) Start a Windows Console window, and change to the src/gnuwin32
sub-directory of the source directory your created at step (1).
4) Copy either MkRules.dist or MkRules.dist64 to MkRules.local
and possibly edit MkRules.local as appropriate.
5) Possibly edit the options (eg, whether helper threads are
enabled) at the start of fixed/h/config.h (in src/gnuwin32).n
Feedback
========
5) Issue the following commands (in a Windows console window), which
will build pqR in-place in the source directory.
Please send comments and bug reports to
mkdir c:/tmp
set TMPDIR=c:/tmp
set CYGWIN=nodosfilewarning
make all recommended
cd bitmap
make
R-windows@r-project.org
4) You should now be able to run Rterm.exe, which is located in
the src/gnuwin32/front-ends sub-directory of the source (and
build) directory.
There is also a Windows GUI, which is not discussed here.
......@@ -4,6 +4,27 @@
/* on Mingw-w64 defines the MING64_ version */
#include <_mingw.h>
/* Define if you have C OpenMP support. */
#if defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR >= 2
#define HAVE_OPENMP 1
#endif
/* Define this to enable deferred evaluation / helpers. */
#define R_DEFERRED_EVAL 1
/* Define this to enable helper threads (requires OpenMP). */
#define R_HELPER_THREADS 1
/* Define this to enable task merging. */
#define R_TASK_MERGING 1
/* Define this to the default for mat_mult_with_BLAS. */
#define R_MAT_MULT_WITH_BLAS_DEFAULT FALSE
/* Define this to the default for BLAS_in_helpers. */
#define R_BLAS_IN_HELPERS_DEFAULT TRUE
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
......@@ -511,27 +532,6 @@
/* Define if you have off_t, fseeko and ftello. */
#define HAVE_OFF_T 1
/* Define if you have C OpenMP support. */
#if defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR >= 2
// has it, but it is too slow to be usable
#define HAVE_OPENMP 1
#endif
/* Define this to the default for mat_mult_with_BLAS. */
#define R_MAT_MULT_WITH_BLAS_DEFAULT NA
/* Define this to the default for BLAS_in_helpers. */
#define R_BLAS_IN_HELPERS_DEFAULT FALSE
/* Define this to enable deferred evaluation / helpers. */
#define R_DEFERRED_EVAL 1
/* Define this to enable helper threads. */
#define R_HELPER_THREADS 1
/* Define this to enable task merging. */
#define R_TASK_MERGING 1
/* Define to 1 if you have pangocairo. */
/* #undef HAVE_PANGOCAIRO */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment