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

📄 chapter.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>      Chapter&nbsp;10.&nbsp;Installing Basic System Software    </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-MIPS">    <div class="navheader">      <div class="headertitles">        <h4>          Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS        </h4>        <h3>          Part&nbsp;V.&nbsp;Building the LFS System        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="../testsuite/tree.html" title=          "Tree-1.5.0">Prev</a>          <p>            Tree-1.5.0          </p>        </li>        <li class="next">          <a accesskey="n" href="pkgmgt.html" title=          "Package Management">Next</a>          <p>            Package Management          </p>        </li>        <li class="up">          <a accesskey="u" href="../part5.html" title=          "Part&nbsp;V.&nbsp;Building the LFS System">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>        </li>      </ul>    </div>    <div class="chapter" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="chapter">          10. Installing Basic System Software        </h1>      </div>      <div class="sect1" lang="en" xml:lang="en">        <div class="titlepage">          <a id="ch-system-introduction" name="ch-system-introduction"></a>          <h2 class="sect1">            10.1. Introduction          </h2>        </div>        <p>          In this chapter, we enter the building site and start constructing          the LFS system in earnest. The installation of this software is          straightforward. Although in many cases the installation          instructions could be made shorter and more generic, we have opted          to provide the full instructions for every package to minimize the          possibilities for mistakes. The key to learning what makes a Linux          system work is to know what each package is used for and why the          user (or the system) needs it. For every installed package, a          summary of its contents is given, followed by concise descriptions          of each program and library the package installed.        </p>        <p>          If using the compiler optimizations provided in this chapter,          please review the optimization hint at <a href=          "http://www.linuxfromscratch.org/hints/downloads/files/optimization.txt">          <i>http://www.linuxfromscratch.org/hints/downloads/files/optimization.txt</i></a>.          Compiler optimizations can make a program run slightly faster, but          they may also cause compilation difficulties and problems when          running the program. If a package refuses to compile when using          optimization, try to compile it without optimization and see if          that fixes the problem. Even if the package does compile when using          optimization, there is the risk it may have been compiled          incorrectly because of the complex interactions between the code          and build tools. Also note that the <tt class="option">-march</tt>          and <tt class="option">-mtune</tt> options may cause problems with          the toolchain packages (Binutils, GCC and Glibc). The small          potential gains achieved in using compiler optimizations are often          outweighed by the risks. First-time builders of LFS are encouraged          to build without custom optimizations. The subsequent system will          still run very fast and be stable at the same time.        </p>        <p>          The order that packages are installed in this chapter needs to be          strictly followed to ensure that no program accidentally acquires a          path referring to <tt class="filename">/tools</tt> hard-wired into          it. For the same reason, do not compile packages in parallel.          Compiling in parallel may save time (especially on dual-CPU          machines), but it could result in a program containing a hard-wired          path to <tt class="filename">/tools</tt>, which will cause the          program to stop working when that directory is removed.        </p>        <p>          Before the installation instructions, each installation page          provides information about the package, including a concise          description of what it contains, approximately how long it will          take to build, how much disk space is required during this building          process, and any other packages needed to successfully build the          package. Following the installation instructions, there is a list          of programs and libraries (along with brief descriptions of these)          that the package installs.        </p>        <p>          To keep track of which package installs particular files, a package          manager can be used. For a general overview of different styles of          package managers, please take a look at the next page.        </p>      </div>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="../testsuite/tree.html" title=          "Tree-1.5.0">Prev</a>          <p>            Tree-1.5.0          </p>        </li>        <li class="next">          <a accesskey="n" href="pkgmgt.html" title=          "Package Management">Next</a>          <p>            Package Management          </p>        </li>        <li class="up">          <a accesskey="u" href="../part5.html" title=          "Part&nbsp;V.&nbsp;Building the LFS System">Up</a>.        </li>        <li class="home">          <a accesskey="h" href="../index.html" title=          "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS">          Home</a>.        </li>      </ul>    </div>  </body></html>

⌨️ 快捷键说明

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