[bf8c11f] | 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 |
|
---|
[5be6331] | 8 | <sect1 id="ch-testsuite-tools-tcl" role="wrap">
|
---|
[bf8c11f] | 9 | <?dbhtml filename="tcl.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tcl-&tcl-version;</title>
|
---|
| 12 |
|
---|
[5be6331] | 13 | <indexterm zone="ch-testsuite-tools-tcl">
|
---|
[bf8c11f] | 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
|
---|
[e1beb751] | 31 | working properly.</para>
|
---|
[bf8c11f] | 32 |
|
---|
[2ab0d61] | 33 | <para os="c1">First, fix a syntax error in the configure script:</para>
|
---|
[1bc724c] | 34 |
|
---|
| 35 | <screen os="c2"><userinput>cd unix
|
---|
| 36 | sed -i "s/relid'/relid/" configure</userinput></screen>
|
---|
| 37 |
|
---|
[bf8c11f] | 38 | <para os="b">Prepare Tcl for compilation:</para>
|
---|
| 39 |
|
---|
[1bc724c] | 40 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
[bf8c11f] | 41 |
|
---|
[e7732d7] | 42 | <para os="d">Build the package:</para>
|
---|
[bf8c11f] | 43 |
|
---|
[e7732d7] | 44 | <screen os="e"><userinput>make</userinput></screen>
|
---|
[bf8c11f] | 45 |
|
---|
[e7732d7] | 46 | <para os="g">Install the package:</para>
|
---|
[bf8c11f] | 47 |
|
---|
[e7732d7] | 48 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[bf8c11f] | 49 |
|
---|
[b220b33b] | 50 | <para os="i">Tcl's private header files are needed for the next
|
---|
[2ab0d61] | 51 | package, Expect. Install them into /tools:</para>
|
---|
[bf8c11f] | 52 |
|
---|
[517ec63] | 53 | <screen os="j"><userinput>make install-private-headers</userinput></screen>
|
---|
[bf8c11f] | 54 |
|
---|
| 55 | <para os="k">Now make a necessary symbolic link:</para>
|
---|
| 56 |
|
---|
[dd9906e] | 57 | <screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
|
---|
[bf8c11f] | 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 id="contents-tcl" role="content">
|
---|
| 62 | <title>Contents of Tcl</title>
|
---|
| 63 |
|
---|
| 64 | <segmentedlist>
|
---|
| 65 | <segtitle>Installed programs</segtitle>
|
---|
| 66 | <segtitle>Installed library</segtitle>
|
---|
| 67 |
|
---|
| 68 | <seglistitem>
|
---|
| 69 | <seg>tclsh (link to tclsh8.4) and tclsh8.4</seg>
|
---|
| 70 | <seg>libtcl8.4.so</seg>
|
---|
| 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="tclsh8.4">
|
---|
| 80 | <term><command>tclsh8.4</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>The Tcl command shell</para>
|
---|
[5be6331] | 83 | <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
|
---|
[bf8c11f] | 84 | <primary sortas="b-tclsh8.4">tclsh8.4</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="tclsh">
|
---|
| 90 | <term><command>tclsh</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>A link to tclsh8.4</para>
|
---|
[5be6331] | 93 | <indexterm zone="ch-testsuite-tools-tcl tclsh">
|
---|
[bf8c11f] | 94 | <primary sortas="b-tclsh">tclsh</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="libtcl8.4.so">
|
---|
| 100 | <term><filename class="libraryfile">libtcl8.4.so</filename></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>The Tcl library</para>
|
---|
[5be6331] | 103 | <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
|
---|
[bf8c11f] | 104 | <primary sortas="c-libtcl8.4.so">libtcl8.4.so</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | </variablelist>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | </sect1>
|
---|