The R Project SVN R

Rev

Rev 27942 | Rev 32566 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
18687 ripley 1
Notes for Windows Maintainers
2
=============================
3
 
18786 ripley 4
1) fixed/h/config.h can be made automatically.  Some of this is
5
achieved by overrides in the configure script.
18687 ripley 6
 
23122 ripley 7
You will need a copy of sh.exe in /bin.  Then with the R sources in
8
/R/rw1070, I used in /TEMP/R (any other directory will do, except the
9
sources)
18687 ripley 10
 
22651 ripley 11
/R/rw1070/configure --build=i386-pc-mingw32
18687 ripley 12
 
22656 ripley 13
This ran fairly slowly, producing a src/include/config.h that differs
14
only in that
18687 ripley 15
 
18786 ripley 16
 - it found R_PRINTCMD = lpr on my system, but that is not used under 
17
   Windows, so the actual setting is irrelevant.
19323 ripley 18
 
22656 ripley 19
 - It found libreadline, not used under Windows.  
18687 ripley 20
 
23122 ripley 21
Also, watch out for versions of the header files.  For example,
22656 ripley 22
<strings.h> was in mingw-runtime-1.2 and later, but not in the
23
Mingw-1.1 bundle.
18687 ripley 24
 
23122 ripley 25
BDR 2002-04-15, 2003-02-10
23357 murdoch 26
 
27
2) The Makefiles for building a distribution have been reorganized.  Now
28
all of the decisions about what files go into the distributables are made
29
in installer/Makefile; the decisions about which component of the setup
30
program each file goes into are made in installer/JRins.pl.
31
 
27942 ripley 32
DJM 2003-02-25
33
 
34
3) Making Tcl/Tk.
35
 
36
Get the Tcl/Tk sources (I used 8.4.5 when testing this).
37
You need VC++6 and a Windows command-line window.
38
 
27944 ripley 39
Run "\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT"
27942 ripley 40
 
41
cd tcl8.4.5\win
42
nmake -nologo -f makefile.vc release winhelp
43
nmake -f makefile.vc install
44
cd ..\..\tk8.4.5\win
45
nmake -nologo -f makefile.vc TCLDIR=..\..\tcl8.4.5 release winhelp
46
nmake -f makefile.vc install
47
 
48
Now copy /Program Files/Tcl to say /R/Tcl and (in any reasonable shell)
49
cd /R/Tcl
50
rm bin/tclpip84.dll bin/tclsh84.exe bin/wish.exe
51
rm -rf lib/*.lib lib/tk8.4/demos lib/tk8.4/images
52
cp .../tcl8.4.5/license.terms .
53
 
54
BDR 2004-01-09