source: BOOK/testsuite-tools/common/tcl.xml@ bd2e5bb

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bd2e5bb was 6c6defc, checked in by Chris Staub <chris@…>, 18 years ago

Text fix for tcl instructions

  • Property mode set to 100644
File size: 3.3 KB
Line 
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
8<sect1 id="ch-testsuite-tools-tcl" role="wrap">
9 <?dbhtml filename="tcl.html"?>
10
11 <title>Tcl-&tcl-version;</title>
12
13 <indexterm zone="ch-testsuite-tools-tcl">
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
31 working properly.</para>
32
33 <para os="c1">First, fix a syntax error in the configure script:</para>
34
35<screen os="c2"><userinput>cd unix
36sed -i "s/relid'/relid/" configure</userinput></screen>
37
38 <para os="b">Prepare Tcl for compilation:</para>
39
40<screen><userinput>./configure --prefix=/tools</userinput></screen>
41
42 <para os="d">Build the package:</para>
43
44<screen os="e"><userinput>make</userinput></screen>
45
46 <para os="g">Install the package:</para>
47
48<screen os="h"><userinput>make install</userinput></screen>
49
50 <para os="i">Tcl's private header files are needed for the next
51 package, Expect. Install them into /tools:</para>
52
53<screen os="j"><userinput>make install-private-headers</userinput></screen>
54
55 <para os="k">Now make a necessary symbolic link:</para>
56
57<screen os="l"><userinput>ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>
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>
83 <indexterm zone="ch-testsuite-tools-tcl tclsh8.4">
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>
93 <indexterm zone="ch-testsuite-tools-tcl tclsh">
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>
103 <indexterm zone="ch-testsuite-tools-tcl libtcl8.4.so">
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>
Note: See TracBrowser for help on using the repository browser.