[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[134ba96] | 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
|
---|
[3f8be484] | 9 | <?dbhtml filename="tcl.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tcl-&tcl-version;</title>
|
---|
| 12 |
|
---|
[134ba96] | 13 | <indexterm zone="ch-testsuite-tools-tcl">
|
---|
[3f8be484] | 14 | <primary sortas="a-Tcl">Tcl</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Tcl package contains the Tool Command Language.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Tcl</title>
|
---|
| 26 |
|
---|
| 27 | <para os="a">This package and the next two (Expect and DejaGNU) are installed
|
---|
| 28 | to support running the test suites for GCC and Binutils. Installing
|
---|
| 29 | three packages for testing purposes may seem excessive, but it is very
|
---|
| 30 | reassuring, if not essential, to know that the most important tools are
|
---|
[76cf100] | 31 | working properly.</para>
|
---|
[3f8be484] | 32 |
|
---|
| 33 | <para os="b">Prepare Tcl for compilation:</para>
|
---|
| 34 |
|
---|
[a730c40] | 35 | <screen><userinput>cd unix
|
---|
| 36 | ./configure --prefix=/tools</userinput></screen>
|
---|
[3f8be484] | 37 |
|
---|
[aa3ee8b] | 38 | <para os="d">Build the package:</para>
|
---|
[3f8be484] | 39 |
|
---|
[aa3ee8b] | 40 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 41 |
|
---|
[aa3ee8b] | 42 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 43 |
|
---|
[aa3ee8b] | 44 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 45 |
|
---|
[6c6defc] | 46 | <para os="i">Tcl's private header files are needed for the next
|
---|
[39139e4] | 47 | package, Expect. Install them into /tools:</para>
|
---|
[3f8be484] | 48 |
|
---|
[b15e6404] | 49 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
|
---|
[3f8be484] | 50 |
|
---|
| 51 | <para os="k">Now make a necessary symbolic link:</para>
|
---|
| 52 |
|
---|
[94e6142] | 53 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
[3f8be484] | 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2 id="contents-tcl" role="content">
|
---|
| 58 | <title>Contents of Tcl</title>
|
---|
| 59 |
|
---|
| 60 | <segmentedlist>
|
---|
| 61 | <segtitle>Installed programs</segtitle>
|
---|
| 62 | <segtitle>Installed library</segtitle>
|
---|
| 63 |
|
---|
| 64 | <seglistitem>
|
---|
| 65 | <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
|
---|
| 66 | <seg>libtcl8.4.so</seg>
|
---|
| 67 | </seglistitem>
|
---|
| 68 | </segmentedlist>
|
---|
| 69 |
|
---|
| 70 | <variablelist>
|
---|
| 71 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 72 | <?dbfo list-presentation="list"?>
|
---|
| 73 | <?dbhtml list-presentation="table"?>
|
---|
| 74 |
|
---|
| 75 | <varlistentry id="tclsh8.4">
|
---|
| 76 | <term><command>tclsh8.4</command></term>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>The Tcl command shell</para>
|
---|
[134ba96] | 79 | <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
|
---|
[3f8be484] | 80 | <primary sortas="b-tclsh8.4">tclsh8.4</primary>
|
---|
| 81 | </indexterm>
|
---|
| 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
| 84 |
|
---|
| 85 | <varlistentry id="tclsh">
|
---|
| 86 | <term><command>tclsh</command></term>
|
---|
| 87 | <listitem>
|
---|
| 88 | <para>A link to tclsh8.4</para>
|
---|
[134ba96] | 89 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[3f8be484] | 90 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 91 | </indexterm>
|
---|
| 92 | </listitem>
|
---|
| 93 | </varlistentry>
|
---|
| 94 |
|
---|
| 95 | <varlistentry id="libtcl8.4.so">
|
---|
| 96 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
| 97 | <listitem>
|
---|
| 98 | <para>The Tcl library</para>
|
---|
[134ba96] | 99 | <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
|
---|
[3f8be484] | 100 | <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
|
---|
| 101 | </indexterm>
|
---|
| 102 | </listitem>
|
---|
| 103 | </varlistentry>
|
---|
| 104 |
|
---|
| 105 | </variablelist>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | </sect1>
|
---|