• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..05-Nov-2021-

Makefile.inH A D29-Oct-202130.6 KiB948702

READMEH A D29-Oct-20212.9 KiB9563

aclocal.m4H A D29-Oct-202124 21

buildall.vc.batH A D29-Oct-20212.7 KiB10482

cat.cH A D29-Oct-2021742 4225

configureH A D29-Oct-2021175.4 KiB6,3195,056

configure.inH A D29-Oct-202114.4 KiB482304

license.termsH A D29-Oct-20212.2 KiB4136

makefile.vcH A D29-Oct-202134.1 KiB1,006688

nmakehlp.cH A D29-Oct-202120.6 KiB816514

rules-ext.vcH A D29-Oct-20213.7 KiB11895

rules.vcH A D29-Oct-202160.6 KiB1,8701,589

targets.vcH A D29-Oct-20212.5 KiB9987

tcl.dspH A D29-Oct-202128.1 KiB1,5641,186

tcl.dswH A D29-Oct-2021529 3019

tcl.hpj.inH A D29-Oct-2021348 2015

tcl.m4H A D29-Oct-202137.1 KiB1,2911,180

tcl.rcH A D29-Oct-20211.5 KiB5850

tclAppInit.cH A D29-Oct-20218.3 KiB341172

tclConfig.sh.inH A D29-Oct-20216.4 KiB182137

tclWin32Dll.cH A D29-Oct-202120 KiB855381

tclWinChan.cH A D29-Oct-202141 KiB1,603784

tclWinConsole.cH A D29-Oct-202137.4 KiB1,436637

tclWinDde.cH A D29-Oct-202153 KiB1,9821,341

tclWinError.cH A D29-Oct-202111.5 KiB429356

tclWinFCmd.cH A D29-Oct-202152.5 KiB1,9681,013

tclWinFile.cH A D29-Oct-202182.6 KiB3,3511,675

tclWinInit.cH A D29-Oct-202118.8 KiB752378

tclWinInt.hH A D29-Oct-20215.4 KiB175100

tclWinLoad.cH A D29-Oct-202112.1 KiB435196

tclWinNotify.cH A D29-Oct-202115.3 KiB609254

tclWinPipe.cH A D29-Oct-202194.4 KiB3,7271,788

tclWinPort.hH A D29-Oct-202113.6 KiB582384

tclWinReg.cH A D29-Oct-202140.1 KiB1,578924

tclWinSerial.cH A D29-Oct-202157 KiB2,2511,137

tclWinSock.cH A D29-Oct-202185.8 KiB3,3621,543

tclWinTest.cH A D29-Oct-202117.3 KiB696377

tclWinThrd.cH A D29-Oct-202125.6 KiB1,105478

tclWinTime.cH A D29-Oct-202140.7 KiB1,472605

tclooConfig.shH A D29-Oct-2021773 206

tclsh.exe.manifest.inH A D29-Oct-20211.6 KiB5448

tclsh.rcH A D29-Oct-20211.9 KiB8370

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