Skip to content
Prev 21646 / 63424 Next

building windows packages under wine/linux and cross-compiling.

On Mon, 31 Jul 2006, Hin-Tak Leung wrote:

            
[...]
The instructions do work for those who actually follow them! That file 
says

  Edit MkRules to set BUILD=CROSS and the appropriate paths (including
  HEADER) as needed.

and the appropriate section of that file is

## =================== cross-compilation settings  =================

ifeq ($(strip $(BUILD)),CROSS)
# Next might be mingw32- or i386-mingw32msvc- or i586-
# depending on the cross-compiler.
BINPREF=i586-mingw32-
# Set this to where the mingw32 include files are. It must be accurate.
HEADER=/users/ripley/R/cross-tools5/i586-mingw32/include
endif
# path (possibly full path) to same version of R on the host system
# R_EXE=R

and please do note the last two lines.