|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 05-Nov-2021 | - |
| Makefile.in | H A D | 29-Oct-2021 | 30.6 KiB | 948 | 702 |
| README | H A D | 29-Oct-2021 | 2.9 KiB | 95 | 63 |
| aclocal.m4 | H A D | 29-Oct-2021 | 24 | 2 | 1 |
| buildall.vc.bat | H A D | 29-Oct-2021 | 2.7 KiB | 104 | 82 |
| cat.c | H A D | 29-Oct-2021 | 742 | 42 | 25 |
| configure | H A D | 29-Oct-2021 | 175.4 KiB | 6,319 | 5,056 |
| configure.in | H A D | 29-Oct-2021 | 14.4 KiB | 482 | 304 |
| license.terms | H A D | 29-Oct-2021 | 2.2 KiB | 41 | 36 |
| makefile.vc | H A D | 29-Oct-2021 | 34.1 KiB | 1,006 | 688 |
| nmakehlp.c | H A D | 29-Oct-2021 | 20.6 KiB | 816 | 514 |
| rules-ext.vc | H A D | 29-Oct-2021 | 3.7 KiB | 118 | 95 |
| rules.vc | H A D | 29-Oct-2021 | 60.6 KiB | 1,870 | 1,589 |
| targets.vc | H A D | 29-Oct-2021 | 2.5 KiB | 99 | 87 |
| tcl.dsp | H A D | 29-Oct-2021 | 28.1 KiB | 1,564 | 1,186 |
| tcl.dsw | H A D | 29-Oct-2021 | 529 | 30 | 19 |
| tcl.hpj.in | H A D | 29-Oct-2021 | 348 | 20 | 15 |
| tcl.m4 | H A D | 29-Oct-2021 | 37.1 KiB | 1,291 | 1,180 |
| tcl.rc | H A D | 29-Oct-2021 | 1.5 KiB | 58 | 50 |
| tclAppInit.c | H A D | 29-Oct-2021 | 8.3 KiB | 341 | 172 |
| tclConfig.sh.in | H A D | 29-Oct-2021 | 6.4 KiB | 182 | 137 |
| tclWin32Dll.c | H A D | 29-Oct-2021 | 20 KiB | 855 | 381 |
| tclWinChan.c | H A D | 29-Oct-2021 | 41 KiB | 1,603 | 784 |
| tclWinConsole.c | H A D | 29-Oct-2021 | 37.4 KiB | 1,436 | 637 |
| tclWinDde.c | H A D | 29-Oct-2021 | 53 KiB | 1,982 | 1,341 |
| tclWinError.c | H A D | 29-Oct-2021 | 11.5 KiB | 429 | 356 |
| tclWinFCmd.c | H A D | 29-Oct-2021 | 52.5 KiB | 1,968 | 1,013 |
| tclWinFile.c | H A D | 29-Oct-2021 | 82.6 KiB | 3,351 | 1,675 |
| tclWinInit.c | H A D | 29-Oct-2021 | 18.8 KiB | 752 | 378 |
| tclWinInt.h | H A D | 29-Oct-2021 | 5.4 KiB | 175 | 100 |
| tclWinLoad.c | H A D | 29-Oct-2021 | 12.1 KiB | 435 | 196 |
| tclWinNotify.c | H A D | 29-Oct-2021 | 15.3 KiB | 609 | 254 |
| tclWinPipe.c | H A D | 29-Oct-2021 | 94.4 KiB | 3,727 | 1,788 |
| tclWinPort.h | H A D | 29-Oct-2021 | 13.6 KiB | 582 | 384 |
| tclWinReg.c | H A D | 29-Oct-2021 | 40.1 KiB | 1,578 | 924 |
| tclWinSerial.c | H A D | 29-Oct-2021 | 57 KiB | 2,251 | 1,137 |
| tclWinSock.c | H A D | 29-Oct-2021 | 85.8 KiB | 3,362 | 1,543 |
| tclWinTest.c | H A D | 29-Oct-2021 | 17.3 KiB | 696 | 377 |
| tclWinThrd.c | H A D | 29-Oct-2021 | 25.6 KiB | 1,105 | 478 |
| tclWinTime.c | H A D | 29-Oct-2021 | 40.7 KiB | 1,472 | 605 |
| tclooConfig.sh | H A D | 29-Oct-2021 | 773 | 20 | 6 |
| tclsh.exe.manifest.in | H A D | 29-Oct-2021 | 1.6 KiB | 54 | 48 |
| tclsh.rc | H A D | 29-Oct-2021 | 1.9 KiB | 83 | 70 |
README
1Tcl 8.6 for Windows
2
31. Introduction
4---------------
5
6This is the directory where you configure and compile the Windows
7version of Tcl. This directory also contains source files for Tcl
8that are specific to Microsoft Windows.
9
10The information in this file is maintained on the web at:
11
12 https://www.tcl-lang.org/doc/howto/compile.html#win
13
142. Compiling Tcl
15----------------
16
17In order to compile Tcl for Windows, you need the following:
18
19 Tcl 8.6 Source Distribution (plus any patches)
20
21 and
22
23 Visual C++ 6 or newer
24
25 or
26
27 Linux + MinGW-w64 [http://mingw-w64.sourceforge.net/]
28 (win32 or win64)
29
30 or
31
32 Cygwin + MinGW-w64 [https://cygwin.com/install.html]
33 (win32 or win64)
34
35 or
36
37 Darwin + MinGW-w64 [http://mingw-w64.sourceforge.net/]
38 (win32 or win64)
39
40 or
41
42 Msys + MinGW-w64 [http://mingw-w64.sourceforge.net/]
43 (win32 or win64)
44
45
46In practice, this release is built with Visual C++ 6.0 and the TEA
47Makefile.
48
49If you are building with Visual C++, in the "win" subdirectory of the
50source release, you will find "makefile.vc". This is the makefile for the
51Visual C++ compiler and uses the stock NMAKE tool. Detailed directions for
52using it, are in the comments of "makefile.vc". A quick example would be:
53
54 C:\tcl_source\win\>nmake -f makefile.vc
55
56There is also a Developer Studio workspace and project file, too, if you
57would like to use them.
58
59If you are building with Linux, Cygwin or Msys, you can use the configure
60script that lives in the win subdirectory. The Linux/Cygwin/Msys based
61configure/build process works just like the UNIX one, so you will want
62to refer to ../unix/README for available configure options.
63
64If you want 64-bit executables (x86_64), you need to configure using
65the --enable-64bit option. Make sure that the x86_64-w64-mingw32
66compiler is present. For Cygwin this compiler can be found in the
67"mingw64-x86_64-gcc-core" package, which can be installed through
68the normal Cygwin install process. If you only want 32-bit executables,
69the "mingw64-i686-gcc-core" package is what you need. For Linux, Darwin
70and Msys, you can download a suitable win32 or win64 compiler from
71[https://sourceforge.net/projects/mingw-w64/files/]
72
73Use the Makefile "install" target to install Tcl. It will install it
74according to the prefix options you provided in the correct directory
75structure.
76
77Note that in order to run tclsh86.exe, you must ensure that tcl86.dll is
78on your path, in the system directory, or in the directory containing
79tclsh86.exe.
80
81Note: Tcl no longer provides support for Win32s.
82
833. Test suite
84-------------
85
86This distribution contains an extensive test suite for Tcl. Some of the
87tests are timing dependent and will fail from time to time. If a test is
88failing consistently, please send us a bug report with as much detail as
89you can manage to our tracker:
90
91 https://core.tcl-lang.org/tcl/reportlist
92
93In order to run the test suite, you build the "test" target using the
94appropriate makefile for your compiler.
95