The R Project SVN R

Rev

Rev 29864 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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