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

📄 linker-emulation-selection.html

📁 gcc手册
💻 HTML
字号:
<html lang="en">

<head>

<title>GNU Binary Utilities</title>

<meta http-equiv="Content-Type" content="text/html">

<meta name="description" content="GNU Binary Utilities">

<meta name="generator" content="makeinfo 4.3">

<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">

</head>

<body>

<div class="node">

<p>

Node:<a name="Linker%20Emulation%20Selection">Linker Emulation Selection</a>,

Previous:<a rel="previous" accesskey="p" href="Architecture-Selection.html#Architecture%20Selection">Architecture Selection</a>,

Up:<a rel="up" accesskey="u" href="Selecting-The-Target-System.html#Selecting%20The%20Target%20System">Selecting The Target System</a>

<hr><br>

</div>



<h3 class="section">Linker emulation selection</h3>



   <p>A linker <dfn>emulation</dfn> is a "personality" of the linker, which gives

the linker default values for the other aspects of the target system. 

In particular, it consists of



     <ul>

<li>the linker script



     <li>the target



     <li>several "hook" functions that are run at certain stages of the linking

process to do special things that some targets require

</ul>



   <p>The command to list valid linker emulation values is <code>ld -V</code>.



   <p>Sample values: <code>hp300bsd</code>, <code>mipslit</code>, <code>sun4</code>.



   <p>Ways to specify:



     <ol type=1 start=1>

<li>command line option: <code>-m</code>

(see <a href="../ld.info/Options.html#Options">Options</a>)



     <li>environment variable <code>LDEMULATION</code>



     <li>compiled-in <code>DEFAULT_EMULATION</code> from <code>Makefile</code>,

which comes from <code>EMUL</code> in <code>config/</code><var>target</var><code>.mt</code>

        </ol>



   </body></html>



⌨️ 快捷键说明

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