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

📄 arc-options.html

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

<head>

<title>Using the GNU Compiler Collection (GCC)</title>

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

<meta name="description" content="Using the GNU Compiler Collection (GCC)">

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

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

<!--

Copyright &copy; 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,

1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.



   <p>Permission is granted to copy, distribute and/or modify this document

under the terms of the GNU Free Documentation License, Version 1.2 or

any later version published by the Free Software Foundation; with the

Invariant Sections being "GNU General Public License" and "Funding

Free Software", the Front-Cover texts being (a) (see below), and with

the Back-Cover Texts being (b) (see below).  A copy of the license is

included in the section entitled "GNU Free Documentation License".



   <p>(a) The FSF's Front-Cover Text is:



   <p>A GNU Manual



   <p>(b) The FSF's Back-Cover Text is:



   <p>You have freedom to copy and modify this GNU Manual, like GNU

     software.  Copies published by the Free Software Foundation raise

     funds for GNU development.-->

</head>

<body>

<div class="node">

<p>

Node:<a name="ARC%20Options">ARC Options</a>,

Next:<a rel="next" accesskey="n" href="NS32K-Options.html#NS32K%20Options">NS32K Options</a>,

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

Up:<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel%20Options">Submodel Options</a>

<hr><br>

</div>



<h4 class="subsection">ARC Options</h4>



   <p>These options are defined for ARC implementations:



     <dl>

<dt><code>-EL</code>

     <dd>Compile code for little endian mode.  This is the default.



     <br><dt><code>-EB</code>

     <dd>Compile code for big endian mode.



     <br><dt><code>-mmangle-cpu</code>

     <dd>Prepend the name of the cpu to all public symbol names. 

In multiple-processor systems, there are many ARC variants with different

instruction and register set characteristics.  This flag prevents code

compiled for one cpu to be linked with code compiled for another. 

No facility exists for handling variants that are "almost identical". 

This is an all or nothing option.



     <br><dt><code>-mcpu=</code><var>cpu</var><code></code>

     <dd>Compile code for ARC variant <var>cpu</var>. 

Which variants are supported depend on the configuration. 

All variants support <code>-mcpu=base</code>, this is the default.



     <br><dt><code>-mtext=</code><var>text-section</var><code></code>

     <dd><dt><code>-mdata=</code><var>data-section</var><code></code>

     <dd><dt><code>-mrodata=</code><var>readonly-data-section</var><code></code>

     <dd>Put functions, data, and readonly data in <var>text-section</var>,

<var>data-section</var>, and <var>readonly-data-section</var> respectively

by default.  This can be overridden with the <code>section</code> attribute. 

See <a href="Variable-Attributes.html#Variable%20Attributes">Variable Attributes</a>.



   </dl>



   </body></html>



⌨️ 快捷键说明

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