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

..28-Mar-2020-

Makefile.inH A D15-Nov-201317.4 KiB602414

READMEH A D15-Nov-20133.7 KiB10573

aclocal.m4H A D15-Nov-201324 21

buildall.vc.batH A D15-Nov-20131.6 KiB6045

cat.cH A D15-Nov-2013655 3820

configureH A D15-Nov-201368.7 KiB2,4001,765

configure.inH A D15-Nov-201312.3 KiB444265

license.termsH A D15-Nov-20132.2 KiB4136

makefile.bcH A D15-Nov-201317.5 KiB567362

makefile.vcH A D15-Nov-201324.3 KiB811639

nmakehlp.cH A D15-Nov-20139.4 KiB298209

pTk.incH A D15-Nov-201339 33

rules.vcH A D15-Nov-20138.6 KiB362315

stub16.cH A D15-Nov-20135.5 KiB199124

tcl.dspH A D15-Nov-201327.1 KiB1,6011,213

tcl.dswH A D15-Nov-2013501 3119

tcl.hpj.inH A D15-Nov-2013330 2115

tcl.m4H A D15-Nov-201319.8 KiB729653

tcl.rcH A D15-Nov-20131.5 KiB6052

tclAppInit.cH A D15-Nov-201311.1 KiB456207

tclConfig.sh.inH A D15-Nov-20136.4 KiB183138

tclWin32Dll.cH A D15-Nov-201326.8 KiB885443

tclWinChan.cH A D15-Nov-201337.4 KiB1,431745

tclWinConsole.cH A D15-Nov-201335.1 KiB1,364576

tclWinDde.cH A D21-Dec-201936.9 KiB1,387902

tclWinError.cH A D15-Nov-201310.7 KiB393331

tclWinFCmd.cH A D15-Nov-201353.8 KiB1,9091,085

tclWinFile.cH A D15-Nov-201364.9 KiB2,3671,432

tclWinInit.cH A D15-Nov-201323.2 KiB891443

tclWinInt.hH A D15-Nov-20135.1 KiB14687

tclWinLoad.cH A D15-Nov-20136.6 KiB23198

tclWinMtherr.cH A D15-Nov-20131.2 KiB5417

tclWinNotify.cH A D15-Nov-201314.8 KiB572221

tclWinPipe.cH A D15-Nov-201380 KiB3,0331,461

tclWinPort.hH A D15-Nov-201313 KiB537334

tclWinReg.cH A D15-Nov-201339.3 KiB1,489872

tclWinSerial.cH A D15-Nov-201361.6 KiB2,1101,097

tclWinSock.cH A D15-Nov-201371.7 KiB2,6631,311

tclWinTest.cH A D15-Nov-201311.2 KiB442229

tclWinThrd.cH A D15-Nov-201326.5 KiB1,085459

tclWinThrd.hH A D15-Nov-2013439 225

tclWinTime.cH A D15-Nov-201327.9 KiB1,071440

tclsh.rcH A D15-Nov-20131.7 KiB7261

README

1Tcl 8.4 for Windows
2
3RCS: @(#) $Id: README,v 1.30 2003/01/27 03:34:04 mdejong 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	http://www.tcl.tk/doc/howto/compile.html#win
14
15The above URL includes a lengthy discussion of compiler macros necessary
16when compiling Tcl extensions that will be dynamically loaded.
17
182. Compiling Tcl
19----------------
20
21In order to compile Tcl for Windows, you need the following:
22
23	Tcl 8.4 Source Distribution (plus any patches)
24
25	and
26
27	Visual C++ 5 or newer
28
29	or
30
31	Msys + Mingw
32
33	http://prdownloads.sourceforge.net/tcl/msys_mingw6.zip
34
35	This Msys + Mingw download is the minimal environment
36	needed to build Tcl/Tk under Windows. It includes a
37	shell environment and gcc. The release is designed to
38	make it as easy a possible to build Tcl/Tk. To install,
39	you just download the zip file and extract the files
40	into a directory. The README.TXT file describes how
41	to launch the msys shell, you then run the configure
42	script in the tcl/win directory.
43
44	or
45
46	Cygwin 1.1 or newer (See http://sources.redhat.com/cygwin)
47
48	Mingw 2.0 (http://prdownloads.sourceforge.net/mingw/MinGW-2.0.0-3.exe)
49
50	Extract the contents of the archive file into /usr/local/mingw
51	and place /usr/local/mingw/bin at the front of your PATH env var
52	before running the configure script in the tcl/win directory.
53
54
55In practice, this release is built with Visual C++ 6.0 and the TEA
56Makefile.
57
58If you are building with Visual C++, in the "win" subdirectory of the
59source release, you will find "makefile.vc".  This is the makefile for
60the Visual C++ compiler and uses the stock NMAKE tool.  Detailed
61directions for using it, are in the comments of "makefile.vc".  A quick
62example would be:
63	C:\tcl_source\win\>nmake -f makefile.vc
64
65There is also a Developer Studio workspace and project file, too, if you
66would like to use them.
67
68If you are building with Msys or Cygwin, you can use the configure script
69that lives in the win subdirectory. The Msys or Cygwin based configure/build
70process works just like the UNIX one, so you will want to refer to
71../unix/README for available configure options. An error will be
72generated by the configure script if you try to compile Tcl with
73the Cygwin version of gcc instead of the Mingw version. Check your
74PATH if you get this error. Be aware that gcc will generate
75lots of compile time warnings when building Tcl. Warnings are
76not errors, so please don't file a bug report about them.
77
78In order to use the binaries generated by these makefiles, you will
79need to place the Tcl script library files someplace where Tcl can
80find them.  Tcl looks in one of following places for the library files:
81
82	1) The path specified in the environment variable "TCL_LIBRARY".
83
84	2) Relative to the directory containing the current .exe.
85	   Tcl will look for a directory "..\lib\tcl8.4" relative to the
86	   directory containing the currently running .exe.
87
88Note that in order to run tclsh84.exe, you must ensure that tcl84.dll
89and tclpip84.dll are on your path, in the system directory, or in the
90directory containing tclsh84.exe.
91
92Note: Tcl no longer provides support for Win32s.
93
943. Test suite
95-------------
96
97This distribution contains an extensive test suite for Tcl.  Some of
98the tests are timing dependent and will fail from time to time.  If a
99test is failing consistently, please send us a bug report with as much
100detail as you can manage.  Please use the online database at
101	http://tcl.sourceforge.net/
102
103In order to run the test suite, you build the "test" target using the
104appropriate makefile for your compiler.
105