⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcl.html

📁 CLFS(Cross-Compiled Linux From Scratch)的文档 Version CLFS-SVN-20060417
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content=    "application/xhtml+xml; charset=iso-8859-1" />    <title>      9.2.&nbsp;Tcl-8.4.12    </title>    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />    <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" />    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=    "text/css" media="print" />  </head>  <body id="lfs" class="CLFS-SVN-20060417-x86">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86        </h4>        <h3>          Chapter&nbsp;9.&nbsp;Constructing Testsuite Tools        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="chapter.html" title=          "Constructing Testsuite Tools">Prev</a>          <p>            Constructing Testsuite Tools          </p>        </li>        <li class="next">          <a accesskey="n" href="expect.html" title="Expect-5.43.0">Next</a>          <p>            Expect-5.43.0          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;9.&nbsp;Constructing Testsuite Tools">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86">          Home</a>        </li>      </ul>    </div>    <div class="wrap" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          9.2. Tcl-8.4.12        </h1>      </div>      <div class="package" lang="en" xml:lang="en">        <p>          The Tcl package contains the Tool Command Language.        </p>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installation depends              on:</span></strong> <span class="seg">Bash, Binutils,              Coreutils, Diffutils, GCC, Glibc, Grep, Make, and Sed</span>            </div>          </div>        </div>      </div>      <div class="installation" lang="en" xml:lang="en">        <div class="titlepage">          <h2 class="sect2">            9.2.1. Installation of Tcl          </h2>        </div>        <p>          This package and the next two (Expect and DejaGNU) are installed to          support running the test suites for GCC and Binutils. Installing          three packages for testing purposes may seem excessive, but it is          very reassuring, if not essential, to know that the most important          tools are working properly.        </p>        <p>          First, fix a syntax error in the configure script.        </p>        <pre class="userinput"><kbd class="command">cd unixsed -i "s/relid'/relid/" configure</kbd></pre>        <p>          Prepare Tcl for compilation:        </p>        <pre class="userinput"><kbd class="command">./configure --prefix=/tools</kbd></pre>        <p>          Build the package:        </p>        <pre class="userinput"><kbd class="command">make</kbd></pre>        <p>          Install the package:        </p>        <pre class="userinput"><kbd class="command">make install</kbd></pre>        <p>          Now we will install the TCL headers into /tools.        </p>        <pre class="userinput"><kbd class="command">make install-private-headers</kbd></pre>        <p>          Now make a necessary symbolic link:        </p>        <pre class="userinput"><kbd class="command">ln -sv tclsh8.4 /tools/bin/tclsh</kbd></pre>      </div>      <div class="content" lang="en" xml:lang="en">        <div class="titlepage">          <a id="contents-tcl" name="contents-tcl"></a>          <h2 class="sect2">            9.2.2. Contents of Tcl          </h2>        </div>        <div class="segmentedlist">          <div class="seglistitem">            <div class="seg">              <strong><span class="segtitle">Installed              programs:</span></strong> <span class="seg">tclsh (link to              tclsh8.4) and tclsh8.4</span>            </div>            <div class="seg">              <strong><span class="segtitle">Installed              library:</span></strong> <span class="seg">libtcl8.4.so</span>            </div>          </div>        </div>        <div class="variablelist">          <h3>            <a id="id3646869" name="id3646869"></a>Short Descriptions          </h3>          <table border="0">            <col align="left" valign="top" />            <tbody>              <tr>                <td>                  <a id="tclsh8.4" name="tclsh8.4"></a><span class=                  "term"><span><strong class=                  "command">tclsh8.4</strong></span></span>                </td>                <td>                  <p>                    The Tcl command shell                  </p>                </td>              </tr>              <tr>                <td>                  <a id="tclsh" name="tclsh"></a><span class=                  "term"><span><strong class=                  "command">tclsh</strong></span></span>                </td>                <td>                  <p>                    A link to tclsh8.4                  </p>                </td>              </tr>              <tr>                <td>                  <a id="libtcl8.4.so" name="libtcl8.4.so"></a><span class=                  "term"><tt class="filename">libtcl8.4.so</tt></span>                </td>                <td>                  <p>                    The Tcl library                  </p>                </td>              </tr>            </tbody>          </table>        </div>      </div>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="chapter.html" title=          "Constructing Testsuite Tools">Prev</a>          <p>            Constructing Testsuite Tools          </p>        </li>        <li class="next">          <a accesskey="n" href="expect.html" title="Expect-5.43.0">Next</a>          <p>            Expect-5.43.0          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;9.&nbsp;Constructing Testsuite Tools">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86">          Home</a>.        </li>      </ul>    </div>  </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -