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

📄 variables.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>      6.2.&nbsp;Build Variables    </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>          Chapter&nbsp;6.&nbsp;Constructing a Temporary System        </h3>      </div>      <ul class="headerlinks">        <li class="prev">          <a accesskey="p" href="chapter.html" title=          "Constructing a Temporary System">Prev</a>          <p>            Constructing a Temporary System          </p>        </li>        <li class="next">          <a accesskey="n" href="binutils.html" title=          "Binutils-2.16.1">Next</a>          <p>            Binutils-2.16.1          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;6.&nbsp;Constructing a Temporary 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="sect1" lang="en" xml:lang="en">      <div class="titlepage">        <h1 class="sect1">          6.2. Build Variables        </h1>      </div>      <p>        Setup target specific variables for the compiler and linkers:      </p>      <pre class="userinput"><kbd class="command">export CC="${LFS_TARGET}-gcc"export CXX="${LFS_TARGET}-g++"export AR="${LFS_TARGET}-ar"export AS="${LFS_TARGET}-as"export RANLIB="${LFS_TARGET}-ranlib"export LD="${LFS_TARGET}-ld"export STRIP="${LFS_TARGET}-strip"</kbd></pre>      <p>        Then add the build variables to <tt class="filename">~/.bashrc</tt>        to prevent issues if you stop and come back later:      </p>      <pre class="userinput"><kbd class="command">echo export CC=\""${CC}\"" &gt;&gt; ~/.bashrcecho export CXX=\""${CXX}\"" &gt;&gt; ~/.bashrcecho export AR=\""${AR}\"" &gt;&gt; ~/.bashrcecho export AS=\""${AS}\"" &gt;&gt; ~/.bashrcecho export RANLIB=\""${RANLIB}\"" &gt;&gt; ~/.bashrcecho export LD=\""${LD}\"" &gt;&gt; ~/.bashrcecho export STRIP=\""${STRIP}\"" &gt;&gt; ~/.bashrc</kbd></pre>    </div>    <div class="navfooter">      <ul>        <li class="prev">          <a accesskey="p" href="chapter.html" title=          "Constructing a Temporary System">Prev</a>          <p>            Constructing a Temporary System          </p>        </li>        <li class="next">          <a accesskey="n" href="binutils.html" title=          "Binutils-2.16.1">Next</a>          <p>            Binutils-2.16.1          </p>        </li>        <li class="up">          <a accesskey="u" href="chapter.html" title=          "Chapter&nbsp;6.&nbsp;Constructing a Temporary 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 + -