|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 28-Mar-2020 | - |
| dltest/ | H | 28-Mar-2020 | - | 796 | 333 |
| Makefile.in | H A D | 15-Nov-2013 | 48.2 KiB | 1,453 | 903 |
| README | H A D | 15-Nov-2013 | 6.9 KiB | 144 | 123 |
| aclocal.m4 | H A D | 15-Nov-2013 | 24 | 2 | 1 |
| configure | H A D | 15-Nov-2013 | 207.2 KiB | 7,581 | 6,202 |
| configure.in | H A D | 15-Nov-2013 | 19.8 KiB | 589 | 305 |
| install-sh | H A D | 15-Nov-2013 | 2.2 KiB | 125 | 75 |
| ldAix | H A D | 15-Nov-2013 | 2.8 KiB | 79 | 33 |
| mkLinks | H A D | 15-Nov-2013 | 63 KiB | 1,858 | 1,836 |
| pTk.inc | H A D | 15-Nov-2013 | 45 | 5 | 3 |
| tcl.m4 | H A D | 15-Nov-2013 | 72.2 KiB | 2,468 | 2,290 |
| tcl.spec | H A D | 15-Nov-2013 | 1.7 KiB | 54 | 37 |
| tclAppInit.c | H A D | 15-Nov-2013 | 4.7 KiB | 178 | 75 |
| tclConfig.sh.in | H A D | 15-Nov-2013 | 6.4 KiB | 181 | 138 |
| tclLoadAix.c | H A D | 15-Nov-2013 | 12.9 KiB | 550 | 396 |
| tclLoadAout.c | H A D | 15-Nov-2013 | 14.7 KiB | 537 | 249 |
| tclLoadDl.c | H A D | 15-Nov-2013 | 5.7 KiB | 211 | 79 |
| tclLoadDld.c | H A D | 15-Nov-2013 | 5.5 KiB | 202 | 76 |
| tclLoadDyld.c | H A D | 15-Nov-2013 | 7.1 KiB | 234 | 108 |
| tclLoadNext.c | H A D | 15-Nov-2013 | 5.1 KiB | 187 | 67 |
| tclLoadOSF.c | H A D | 15-Nov-2013 | 5.7 KiB | 203 | 57 |
| tclLoadShl.c | H A D | 15-Nov-2013 | 5.9 KiB | 210 | 71 |
| tclUnixChan.c | H A D | 15-Nov-2013 | 89.2 KiB | 3,367 | 1,960 |
| tclUnixEvent.c | H A D | 15-Nov-2013 | 1.9 KiB | 91 | 42 |
| tclUnixFCmd.c | H A D | 15-Nov-2013 | 48 KiB | 1,799 | 1,010 |
| tclUnixFile.c | H A D | 15-Nov-2013 | 20.6 KiB | 825 | 444 |
| tclUnixInit.c | H A D | 15-Nov-2013 | 30.2 KiB | 1,069 | 575 |
| tclUnixNotfy.c | H A D | 15-Nov-2013 | 29.8 KiB | 1,120 | 519 |
| tclUnixPipe.c | H A D | 15-Nov-2013 | 31.8 KiB | 1,250 | 653 |
| tclUnixPort.h | H A D | 15-Nov-2013 | 13.3 KiB | 592 | 356 |
| tclUnixSock.c | H A D | 15-Nov-2013 | 3.4 KiB | 151 | 67 |
| tclUnixTest.c | H A D | 15-Nov-2013 | 19.9 KiB | 706 | 441 |
| tclUnixThrd.c | H A D | 15-Nov-2013 | 21.7 KiB | 952 | 416 |
| tclUnixThrd.h | H A D | 15-Nov-2013 | 408 | 22 | 5 |
| tclUnixTime.c | H A D | 15-Nov-2013 | 10.8 KiB | 460 | 209 |
| tclXtNotify.c | H A D | 15-Nov-2013 | 16.7 KiB | 669 | 302 |
| tclXtTest.c | H A D | 15-Nov-2013 | 3.1 KiB | 121 | 52 |
README
1Tcl UNIX README
2---------------
3
4RCS: @(#) $Id: README,v 1.24 2002/10/10 04:56:21 hobbs Exp $
5
6This is the directory where you configure, compile, test, and install
7UNIX versions of Tcl. This directory also contains source files for Tcl
8that are specific to UNIX. Some of the files in this directory are
9used on the PC or Mac platform too, but they all depend on UNIX
10(POSIX/ANSI C) interfaces and some of them only make sense under UNIX.
11
12Updated forms of the information found in this file is available at:
13 http://www.tcl.tk/doc/howto/compile.html#unix
14
15For information on platforms where Tcl is known to compile, along
16with any porting notes for getting it to work on those platforms, see:
17 http://www.tcl.tk/software/tcltk/platforms.html
18
19The rest of this file contains instructions on how to do this. The
20release should compile and run either "out of the box" or with trivial
21changes on any UNIX-like system that approximates POSIX, BSD, or System
22V. We know that it runs on workstations from Sun, H-P, DEC, IBM, and
23SGI, as well as PCs running Linux, BSDI, and SCO UNIX. To compile for
24a PC running Windows, see the README file in the directory ../win. To
25compile for a Macintosh, see the README file in the directory ../mac.
26
27How To Compile And Install Tcl:
28-------------------------------
29
30(a) If you have already compiled Tcl once in this directory and are now
31 preparing to compile again in the same directory but for a different
32 platform, or if you have applied patches, type "make distclean" to
33 discard all the configuration information computed previously.
34
35(b) If you need to reconfigure because you changed any of the .in or
36 .m4 files, you will need to run autoconf to create a new
37 ./configure script. Most users will NOT need to do this since
38 a configure script is already provided.
39
40 (in the tcl/unix directory)
41 autoconf
42
43(c) Type "./configure". This runs a configuration script created by GNU
44 autoconf, which configures Tcl for your system and creates a
45 Makefile. The configure script allows you to customize the Tcl
46 configuration for your site; for details on how you can do this,
47 type "./configure -help" or refer to the autoconf documentation (not
48 included here). Tcl's "configure" supports the following special
49 switches in addition to the standard ones:
50 --enable-threads If this switch is set, Tcl will compile
51 itself with multithreading support.
52 --disable-load If this switch is specified then Tcl will
53 configure itself not to allow dynamic loading,
54 even if your system appears to support it.
55 Normally you can leave this switch out and
56 Tcl will build itself for dynamic loading
57 if your system supports it.
58 --enable-shared If this switch is specified, Tcl will compile
59 itself as a shared library if it can figure
60 out how to do that on this platform. This
61 is the default on platforms where we know
62 how to build shared libraries.
63 --disable-shared If this switch is specified, Tcl will compile
64 itself as a static library.
65 --enable-symbols build with debugging symbols. By default
66 standard debugging symbols are used. You
67 can specify the value "mem" to include
68 TCL_MEM_DEBUG memory debugging, "compile"
69 to include TCL_COMPILE_DEBUG debugging, or
70 "all" to enable all internal debugging.
71 --disable-symbols build without debugging symbols
72 --enable-64bit enable 64bit support (where applicable)
73 --disable-64bit disable 64bit support (where applicable)
74 --enable-64bit-vis enable 64bit Sparc VIS support
75 --disable-64bit-vis disable 64bit Sparc VIS support
76 --enable-langinfo Allows use of modern nl_langinfo check for
77 better localization support. This is on by
78 default on platforms where nl_langinfo is
79 found.
80 --disable-langinfo Specifically disables use of nl_langinfo.
81 --enable-man-symlinks Use symlinks for linking the manpages that
82 should be reachable under several names.
83 --enable-man-compression=PROG
84 Compress the manpages using PROG.
85
86 Note: by default gcc will be used if it can be located on the PATH.
87 if you want to use cc instead of gcc, set the CC environment variable
88 to "cc" before running configure. It is not safe to edit the
89 Makefile to use gcc after configure is run. Also note that
90 you should use the same compiler when building extensions.
91
92 Note: be sure to use only absolute path names (those starting with "/")
93 in the --prefix and --exec-prefix options.
94
95(d) Type "make". This will create a library archive called
96 "libtcl<version>.a" or "libtcl<version>.so" and an interpreter
97 application called "tclsh" that allows you to type Tcl commands
98 interactively or execute script files.
99
100(e) If the make fails then you'll have to personalize the Makefile
101 for your site or possibly modify the distribution in other ways.
102 First check the porting Web page above to see if there are hints
103 for compiling on your system. If you need to modify Makefile,
104 are comments at the beginning of it that describe the things you
105 might want to change and how to change them.
106
107(f) Type "make install" to install Tcl binaries and script files in
108 standard places. You'll need write permission on the installation
109 directories to do this. The installation directories are
110 determined by the "configure" script and may be specified with
111 the --prefix and --exec-prefix options to "configure". See the
112 Makefile for information on what directories were chosen; you
113 can override these choices by modifying the "prefix" and
114 "exec_prefix" variables in the Makefile.
115
116(g) At this point you can play with Tcl by running "make shell"
117 and typing Tcl commands at the prompt.
118
119If you have trouble compiling Tcl, see the URL noted above about working
120platforms. It contains information that people have provided about changes
121they had to make to compile Tcl in various environments. We're also
122interested in hearing how to change the configuration setup so that Tcl
123compiles on additional platforms "out of the box".
124
125Test suite
126----------
127
128There is a relatively complete test suite for all of the Tcl core in
129the subdirectory "tests". To use it just type "make test" in this
130directory. You should then see a printout of the test files processed.
131If any errors occur, you'll see a much more substantial printout for
132each error. See the README file in the "tests" directory for more
133information on the test suite. Note: don't run the tests as superuser:
134this will cause several of them to fail. If a test is failing
135consistently, please send us a bug report with as much detail as you
136can manage. Please use the online database at
137 http://tcl.sourceforge.net/
138
139The Tcl test suite is very sensitive to proper implementation of
140ANSI C library procedures such as sprintf and sscanf. If the test
141suite generates errors, most likely they are due to non-conformance
142of your system's ANSI C library; such problems are unlikely to
143affect any real applications so it's probably safe to ignore them.
144