📄 readme
字号:
Tcl 8.4 for WindowsRCS: @(#) $Id: README,v 1.27 2002/06/04 19:23:30 mdejong Exp $1. Introduction---------------This is the directory where you configure and compile the Windowsversion of Tcl. This directory also contains source files for Tclthat are specific to Microsoft Windows.The information in this file is maintained on the web at: http://www.tcl.tk/doc/howto/compile.html#winThe above URL includes a lengthy discussion of compiler macros necessarywhen compiling Tcl extensions that will be dynamically loaded.2. Compiling Tcl----------------In order to compile Tcl for Windows, you need the following: Tcl 8.4 Source Distribution (plus any patches) and Visual C++ 5 or newer or Msys + Mingw 1.1 http://prdownloads.sourceforge.net/tcl/msys_mingw2.zip This Msys + Mingw download is the minimal environment needed to build Tcl/Tk under Windows. It includes a shell environment and gcc. The release is designed to make it as easy a possible to build Tcl/Tk. To install, you just download the zip file and extract the files into a directory. The README.TXT file describes how to launch the msys shell, you then run the configure script in the tcl/win directory. or Cygwin 1.1 or newer (See http://sources.redhat.com/cygwin) Mingw 1.1 (http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz) Extract the contents of the archive file into /usr/local/mingw and place /usr/local/mingw/bin at the front of your PATH env var before running the configure script in the tcl/win directory.In practice, this release is built with Visual C++ 6.0 and the TEAMakefile.If you are building with Visual C++, in the "win" subdirectory of thesource release, you will find "makefile.vc". This is the makefile forthe Visual C++ compiler and uses the stock NMAKE tool. Detaileddirections for using it, are in the comments of "makefile.vc". A quickexample would be: C:\tcl_source\win\>nmake -f makefile.vcThere is also a Developer Studio workspace and project file, too, if youwould like to use them.If you are building with Msys or Cygwin, you can use the configure scriptthat lives in the win subdirectory. The Msys or Cygwin based configure/buildprocess works just like the UNIX one, so you will want to refer to../unix/README for available configure options. An error will begenerated by the configure script if you try to compile Tcl withthe Cygwin version of gcc instead of the Mingw version. Check yourPATH if you get this error. Be aware that gcc will generatelots of compile time warnings when building Tcl. Warnings arenot errors, so please don't file a bug report about them.In order to use the binaries generated by these makefiles, you willneed to place the Tcl script library files someplace where Tcl canfind them. Tcl looks in one of following places for the library files: 1) The path specified in the environment variable "TCL_LIBRARY". 2) Relative to the directory containing the current .exe. Tcl will look for a directory "..\lib\tcl8.4" relative to the directory containing the currently running .exe.Note that in order to run tclsh84.exe, you must ensure that tcl84.dlland tclpip84.dll are on your path, in the system directory, or in the directory containing tclsh84.exe.Note: Tcl no longer provides support for Win32s.3. Test suite-------------This distribution contains an extensive test suite for Tcl. Some ofthe tests are timing dependent and will fail from time to time. If atest is failing consistently, please send us a bug report with as muchdetail as you can manage. Please use the online database at http://tcl.sourceforge.net/In order to run the test suite, you build the "test" target using theappropriate makefile for your compiler.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -