📄 chapter.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 5. Constructing Cross-Compile Tools </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 III. Make the Cross-Compile Tools </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="../part3.html" title= "Make the Cross-Compile Tools">Prev</a> <p> Make the Cross-Compile Tools </p> </li> <li class="next"> <a accesskey="n" href="cflags.html" title="Build CFLAGS">Next</a> <p> Build CFLAGS </p> </li> <li class="up"> <a accesskey="u" href="../part3.html" title= "Part III. Make the Cross-Compile Tools">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"> 5. Constructing Cross-Compile Tools </h1> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <a id="ch-cross-tools-introduction" name= "ch-cross-tools-introduction"></a> <h2 class="sect1"> 5.1. Introduction </h2> </div> <p> This chapter shows you how to create cross platform tools. </p> <p> If for some reason you have to stop and come back later, remember to use the <span><strong class="command">su - lfs</strong></span> command, and it will setup the build environment that you left. </p> <div class="sect2" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 5.1.1. Common Notes </h2> </div> <div class="important"> <div class="admonhead"> <img alt="[Important]" src="../images/important.png" /> <h3 class="admontitle"> Important </h3> </div> <div class="admonbody"> <p> Before issuing the build instructions for a package, the package should be unpacked as user <tt class= "systemitem">lfs</tt>, and a <span><strong class= "command">cd</strong></span> into the created directory should be performed. The build instructions assume that the <span><strong class="command">bash</strong></span> shell is in use. </p> </div> </div> <p> Several of the packages are patched before compilation, but only when the patch is needed to circumvent a problem. A patch is often needed in both this and the next chapters, but sometimes in only one or the other. Therefore, do not be concerned if instructions for a downloaded patch seem to be missing. Warning messages about <span class="emphasis"><em>offset</em></span> or <span class="emphasis"><em>fuzz</em></span> may also be encountered when applying a patch. Do not worry about these warnings, as the patch was still successfully applied. </p> <p> During the compilation of most packages, there will be several warnings that scroll by on the screen. These are normal and can safely be ignored. These warnings are as they appear—warnings about deprecated, but not invalid, use of the C or C++ syntax. C standards change fairly often, and some packages still use the older standard. This is not a problem, but does prompt the warning. </p> <div class="important"> <div class="admonhead"> <img alt="[Important]" src="../images/important.png" /> <h3 class="admontitle"> Important </h3> </div> <div class="admonbody"> <p> After installing each package, both in this and the next chapters, delete its source and build directories, unless specifically instructed otherwise. Deleting the sources prevents mis-configuration when the same package is reinstalled later. </p> </div> </div> </div> </div> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="../part3.html" title= "Make the Cross-Compile Tools">Prev</a> <p> Make the Cross-Compile Tools </p> </li> <li class="next"> <a accesskey="n" href="cflags.html" title="Build CFLAGS">Next</a> <p> Build CFLAGS </p> </li> <li class="up"> <a accesskey="u" href="../part3.html" title= "Part III. Make the Cross-Compile Tools">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 + -