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

📄 cris-options.html

📁 自己收集的linux入门到学懂高级编程书集 包括linux程序设计第三版
💻 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.6"><!--Copyright &copy; 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.   <p>Permission is granted to copy, distribute and/or modify this documentunder the terms of the GNU Free Documentation License, Version 1.2 orany later version published by the Free Software Foundation; with theInvariant Sections being "GNU General Public License" and "FundingFree Software", the Front-Cover texts being (a) (see below), and withthe Back-Cover Texts being (b) (see below).  A copy of the license isincluded 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.--><meta http-equiv="Content-Style-Type" content="text/css"><style type="text/css"><!--  pre.display { font-family:inherit }  pre.format  { font-family:inherit }  pre.smalldisplay { font-family:inherit; font-size:smaller }  pre.smallformat  { font-family:inherit; font-size:smaller }  pre.smallexample { font-size:smaller }  pre.smalllisp    { font-size:smaller }--></style></head><body><div class="node"><p>Node:&nbsp;<a name="CRIS%20Options">CRIS Options</a>,Next:&nbsp;<a rel="next" accesskey="n" href="MMIX-Options.html#MMIX%20Options">MMIX Options</a>,Previous:&nbsp;<a rel="previous" accesskey="p" href="S-390-and-zSeries-Options.html#S%2f390%20and%20zSeries%20Options">S/390 and zSeries Options</a>,Up:&nbsp;<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel%20Options">Submodel Options</a><hr><br></div><h3 class="subsection">CRIS Options</h4><p>These options are defined specifically for the CRIS ports.     <dl><dt><code>-march=</code><var>architecture-type</var><code></code>     <dd><dt><code>-mcpu=</code><var>architecture-type</var><code></code>     <dd>Generate code for the specified architecture.  The choices for<var>architecture-type</var> are <code>v3</code>, <code>v8</code> and <code>v10</code> forrespectively ETRAX&nbsp;4, ETRAX&nbsp;100, and ETRAX&nbsp;100&nbsp;LX. Default is <code>v0</code> except for cris-axis-linux-gnu, where the default is<code>v10</code>.     <br><dt><code>-mtune=</code><var>architecture-type</var><code></code>     <dd>Tune to <var>architecture-type</var> everything applicable about the generatedcode, except for the ABI and the set of available instructions.  Thechoices for <var>architecture-type</var> are the same as for<code>-march=</code><var>architecture-type</var><code></code>.     <br><dt><code>-mmax-stack-frame=</code><var>n</var><code></code>     <dd>Warn when the stack frame of a function exceeds <var>n</var> bytes.     <br><dt><code>-melinux-stacksize=</code><var>n</var><code></code>     <dd>Only available with the <code>cris-axis-aout</code> target.  Arranges forindications in the program to the kernel loader that the stack of theprogram should be set to <var>n</var> bytes.     <br><dt><code>-metrax4</code>     <dd><dt><code>-metrax100</code>     <dd>The options <code>-metrax4</code> and <code>-metrax100</code> are synonyms for<code>-march=v3</code> and <code>-march=v8</code> respectively.     <br><dt><code>-mmul-bug-workaround</code>     <dd><dt><code>-mno-mul-bug-workaround</code>     <dd>Work around a bug in the <code>muls</code> and <code>mulu</code> instructions for CPUmodels where it applies.  This option is active by default.     <br><dt><code>-mpdebug</code>     <dd>Enable CRIS-specific verbose debug-related information in the assemblycode.  This option also has the effect to turn off the <code>#NO_APP</code>formatted-code indicator to the assembler at the beginning of theassembly file.     <br><dt><code>-mcc-init</code>     <dd>Do not use condition-code results from previous instruction; always emitcompare and test instructions before use of condition codes.     <br><dt><code>-mno-side-effects</code>     <dd>Do not emit instructions with side-effects in addressing modes other thanpost-increment.     <br><dt><code>-mstack-align</code>     <dd><dt><code>-mno-stack-align</code>     <dd><dt><code>-mdata-align</code>     <dd><dt><code>-mno-data-align</code>     <dd><dt><code>-mconst-align</code>     <dd><dt><code>-mno-const-align</code>     <dd>These options (no-options) arranges (eliminate arrangements) for thestack-frame, individual data and constants to be aligned for the maximumsingle data access size for the chosen CPU model.  The default is toarrange for 32-bit alignment.  ABI details such as structure layout arenot affected by these options.     <br><dt><code>-m32-bit</code>     <dd><dt><code>-m16-bit</code>     <dd><dt><code>-m8-bit</code>     <dd>Similar to the stack- data- and const-align options above, these optionsarrange for stack-frame, writable data and constants to all be 32-bit,16-bit or 8-bit aligned.  The default is 32-bit alignment.     <br><dt><code>-mno-prologue-epilogue</code>     <dd><dt><code>-mprologue-epilogue</code>     <dd>With <code>-mno-prologue-epilogue</code>, the normal function prologue andepilogue that sets up the stack-frame are omitted and no returninstructions or return sequences are generated in the code.  Use thisoption only together with visual inspection of the compiled code: nowarnings or errors are generated when call-saved registers must be saved,or storage for local variable needs to be allocated.     <br><dt><code>-mno-gotplt</code>     <dd><dt><code>-mgotplt</code>     <dd>With <code>-fpic</code> and <code>-fPIC</code>, don't generate (do generate)instruction sequences that load addresses for functions from the PLT partof the GOT rather than (traditional on other architectures) calls to thePLT.  The default is <code>-mgotplt</code>.     <br><dt><code>-maout</code>     <dd>Legacy no-op option only recognized with the cris-axis-aout target.     <br><dt><code>-melf</code>     <dd>Legacy no-op option only recognized with the cris-axis-elf andcris-axis-linux-gnu targets.     <br><dt><code>-melinux</code>     <dd>Only recognized with the cris-axis-aout target, where it selects aGNU/linux-like multilib, include files and instruction set for<code>-march=v8</code>.     <br><dt><code>-mlinux</code>     <dd>Legacy no-op option only recognized with the cris-axis-linux-gnu target.     <br><dt><code>-sim</code>     <dd>This option, recognized for the cris-axis-aout and cris-axis-elf arrangesto link with input-output functions from a simulator library.  Code,initialized data and zero-initialized data are allocated consecutively.     <br><dt><code>-sim2</code>     <dd>Like <code>-sim</code>, but pass linker options to locate initialized data at0x40000000 and zero-initialized data at 0x80000000. </dl>   </body></html>

⌨️ 快捷键说明

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