Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/win/README @ 25

Last change on this file since 25 was 25, checked in by landauf, 17 years ago

added tcl to libs

File size: 2.9 KB
Line 
1Tcl 8.5 for Windows
2
3RCS: @(#) $Id: README,v 1.37 2007/12/14 21:02:05 hobbs Exp $
4
51. Introduction
6---------------
7
8This is the directory where you configure and compile the Windows
9version of Tcl.  This directory also contains source files for Tcl
10that are specific to Microsoft Windows.
11
12The information in this file is maintained on the web at:
13
14        http://www.tcl.tk/doc/howto/compile.html#win
15
16The above URL includes a lengthy discussion of compiler macros necessary
17when compiling Tcl extensions that will be dynamically loaded.
18
192. Compiling Tcl
20----------------
21
22In order to compile Tcl for Windows, you need the following:
23
24        Tcl 8.5 Source Distribution (plus any patches)
25
26        and
27
28        Visual C++ 6 or newer
29
30        or
31
32        Msys + Mingw [http://www.mingw.org/download.shtml]
33
34        http://prdownloads.sourceforge.net/tcl/msys_mingw8.zip
35
36        This Msys + Mingw download above is the minimal environment needed
37        to build Tcl/Tk under Windows. It includes a shell environment and
38        gcc. The release is designed to make it as easy a possible to build
39        Tcl/Tk. To install, you just download the zip file and extract the
40        files into a directory. The README.TXT file describes how to launch
41        the msys shell, you then run the configure script in the tcl/win
42        directory.
43
44In practice, this release is built with Visual C++ 6.0 and the TEA
45Makefile.
46
47If you are building with Visual C++, in the "win" subdirectory of the
48source release, you will find "makefile.vc".  This is the makefile for the
49Visual C++ compiler and uses the stock NMAKE tool.  Detailed directions for
50using it, are in the comments of "makefile.vc".  A quick example would be:
51
52        C:\tcl_source\win\>nmake -f makefile.vc
53
54There is also a Developer Studio workspace and project file, too, if you
55would like to use them.
56
57If you are building with Msys, you can use the configure script that lives
58in the win subdirectory. The Msys based configure/build process works just
59like the UNIX one, so you will want to refer to ../unix/README for
60available configure options. An error will be generated by the configure
61script if you try to compile Tcl with the Cygwin version of gcc instead of
62the Mingw version. Check your PATH if you get this error.
63
64Use the Makefile "install" target to install Tcl.  It will install it
65according to the prefix options you provided in the correct directory
66structure.
67
68Note that in order to run tclsh85.exe, you must ensure that tcl85.dll is on
69your path, in the system directory, or in the directory containing
70tclsh85.exe.
71
72Note: Tcl no longer provides support for Win32s.
73
743. Test suite
75-------------
76
77This distribution contains an extensive test suite for Tcl.  Some of the
78tests are timing dependent and will fail from time to time.  If a test is
79failing consistently, please send us a bug report with as much detail as
80you can manage.  Please use the online database at
81
82        http://tcl.sourceforge.net/
83
84In order to run the test suite, you build the "test" target using the
85appropriate makefile for your compiler.
Note: See TracBrowser for help on using the repository browser.