[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 |
|
---|
[cf682c1] | 35 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
[3f8be484] | 36 |
|
---|
[aa3ee8b] | 37 | <para os="d">Build the package:</para>
|
---|
[3f8be484] | 38 |
|
---|
[aa3ee8b] | 39 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 40 |
|
---|
[aa3ee8b] | 41 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 42 |
|
---|
[aa3ee8b] | 43 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 44 |
|
---|
[6c6defc] | 45 | <para os="i">Tcl's private header files are needed for the next
|
---|
[39139e4] | 46 | package, Expect. Install them into /tools:</para>
|
---|
[3f8be484] | 47 |
|
---|
[b15e6404] | 48 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
|
---|
[3f8be484] | 49 |
|
---|
| 50 | <para os="k">Now make a necessary symbolic link:</para>
|
---|
| 51 |
|
---|
[94e6142] | 52 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
[3f8be484] | 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2 id="contents-tcl" role="content">
|
---|
| 57 | <title>Contents of Tcl</title>
|
---|
| 58 |
|
---|
| 59 | <segmentedlist>
|
---|
| 60 | <segtitle>Installed programs</segtitle>
|
---|
| 61 | <segtitle>Installed library</segtitle>
|
---|
| 62 |
|
---|
| 63 | <seglistitem>
|
---|
| 64 | <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
|
---|
| 65 | <seg>libtcl8.4.so</seg>
|
---|
| 66 | </seglistitem>
|
---|
| 67 | </segmentedlist>
|
---|
| 68 |
|
---|
| 69 | <variablelist>
|
---|
| 70 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 71 | <?dbfo list-presentation="list"?>
|
---|
| 72 | <?dbhtml list-presentation="table"?>
|
---|
| 73 |
|
---|
| 74 | <varlistentry id="tclsh8.4">
|
---|
| 75 | <term><command>tclsh8.4</command></term>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>The Tcl command shell</para>
|
---|
[134ba96] | 78 | <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
|
---|
[3f8be484] | 79 | <primary sortas="b-tclsh8.4">tclsh8.4</primary>
|
---|
| 80 | </indexterm>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
| 84 | <varlistentry id="tclsh">
|
---|
| 85 | <term><command>tclsh</command></term>
|
---|
| 86 | <listitem>
|
---|
| 87 | <para>A link to tclsh8.4</para>
|
---|
[134ba96] | 88 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[3f8be484] | 89 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 90 | </indexterm>
|
---|
| 91 | </listitem>
|
---|
| 92 | </varlistentry>
|
---|
| 93 |
|
---|
| 94 | <varlistentry id="libtcl8.4.so">
|
---|
| 95 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>The Tcl library</para>
|
---|
[134ba96] | 98 | <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
|
---|
[3f8be484] | 99 | <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
|
---|
| 100 | </indexterm>
|
---|
| 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 |
|
---|
| 104 | </variablelist>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | </sect1>
|
---|