You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

234 satır
16KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>Submodel Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="Submodel Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="Submodel Options (Using the GNU Compiler Collection (GCC))">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="Invoking-GCC.html#Invoking-GCC" rel="up" title="Invoking GCC">
  30. <link href="AArch64-Options.html#AArch64-Options" rel="next" title="AArch64 Options">
  31. <link href="Developer-Options.html#Developer-Options" rel="prev" title="Developer Options">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="Submodel-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Spec-Files.html#Spec-Files" accesskey="n" rel="next">Spec Files</a>, Previous: <a href="Developer-Options.html#Developer-Options" accesskey="p" rel="prev">Developer Options</a>, Up: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="u" rel="up">Invoking GCC</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="Machine_002dDependent-Options"></a>
  68. <h3 class="section">3.19 Machine-Dependent Options</h3>
  69. <a name="index-submodel-options"></a>
  70. <a name="index-specifying-hardware-config"></a>
  71. <a name="index-hardware-models-and-configurations_002c-specifying"></a>
  72. <a name="index-target_002ddependent-options"></a>
  73. <a name="index-machine_002ddependent-options"></a>
  74. <p>Each target machine supported by GCC can have its own options&mdash;for
  75. example, to allow you to compile for a particular processor variant or
  76. ABI, or to control optimizations specific to that machine. By
  77. convention, the names of machine-specific options start with
  78. &lsquo;<samp>-m</samp>&rsquo;.
  79. </p>
  80. <p>Some configurations of the compiler also support additional target-specific
  81. options, usually for compatibility with other compilers on the same
  82. platform.
  83. </p>
  84. <table class="menu" border="0" cellspacing="0">
  85. <tr><td align="left" valign="top">&bull; <a href="AArch64-Options.html#AArch64-Options" accesskey="1">AArch64 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  86. </td></tr>
  87. <tr><td align="left" valign="top">&bull; <a href="Adapteva-Epiphany-Options.html#Adapteva-Epiphany-Options" accesskey="2">Adapteva Epiphany Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  88. </td></tr>
  89. <tr><td align="left" valign="top">&bull; <a href="AMD-GCN-Options.html#AMD-GCN-Options" accesskey="3">AMD GCN Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  90. </td></tr>
  91. <tr><td align="left" valign="top">&bull; <a href="ARC-Options.html#ARC-Options" accesskey="4">ARC Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  92. </td></tr>
  93. <tr><td align="left" valign="top">&bull; <a href="ARM-Options.html#ARM-Options" accesskey="5">ARM Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  94. </td></tr>
  95. <tr><td align="left" valign="top">&bull; <a href="AVR-Options.html#AVR-Options" accesskey="6">AVR Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  96. </td></tr>
  97. <tr><td align="left" valign="top">&bull; <a href="Blackfin-Options.html#Blackfin-Options" accesskey="7">Blackfin Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  98. </td></tr>
  99. <tr><td align="left" valign="top">&bull; <a href="C6X-Options.html#C6X-Options" accesskey="8">C6X Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  100. </td></tr>
  101. <tr><td align="left" valign="top">&bull; <a href="CRIS-Options.html#CRIS-Options" accesskey="9">CRIS Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  102. </td></tr>
  103. <tr><td align="left" valign="top">&bull; <a href="CR16-Options.html#CR16-Options">CR16 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  104. </td></tr>
  105. <tr><td align="left" valign="top">&bull; <a href="C_002dSKY-Options.html#C_002dSKY-Options">C-SKY Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  106. </td></tr>
  107. <tr><td align="left" valign="top">&bull; <a href="Darwin-Options.html#Darwin-Options">Darwin Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  108. </td></tr>
  109. <tr><td align="left" valign="top">&bull; <a href="DEC-Alpha-Options.html#DEC-Alpha-Options">DEC Alpha Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  110. </td></tr>
  111. <tr><td align="left" valign="top">&bull; <a href="eBPF-Options.html#eBPF-Options">eBPF Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  112. </td></tr>
  113. <tr><td align="left" valign="top">&bull; <a href="FR30-Options.html#FR30-Options">FR30 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  114. </td></tr>
  115. <tr><td align="left" valign="top">&bull; <a href="FT32-Options.html#FT32-Options">FT32 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  116. </td></tr>
  117. <tr><td align="left" valign="top">&bull; <a href="FRV-Options.html#FRV-Options">FRV Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  118. </td></tr>
  119. <tr><td align="left" valign="top">&bull; <a href="GNU_002fLinux-Options.html#GNU_002fLinux-Options">GNU/Linux Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  120. </td></tr>
  121. <tr><td align="left" valign="top">&bull; <a href="H8_002f300-Options.html#H8_002f300-Options">H8/300 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  122. </td></tr>
  123. <tr><td align="left" valign="top">&bull; <a href="HPPA-Options.html#HPPA-Options">HPPA Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  124. </td></tr>
  125. <tr><td align="left" valign="top">&bull; <a href="IA_002d64-Options.html#IA_002d64-Options">IA-64 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  126. </td></tr>
  127. <tr><td align="left" valign="top">&bull; <a href="LM32-Options.html#LM32-Options">LM32 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  128. </td></tr>
  129. <tr><td align="left" valign="top">&bull; <a href="M32C-Options.html#M32C-Options">M32C Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  130. </td></tr>
  131. <tr><td align="left" valign="top">&bull; <a href="M32R_002fD-Options.html#M32R_002fD-Options">M32R/D Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  132. </td></tr>
  133. <tr><td align="left" valign="top">&bull; <a href="M680x0-Options.html#M680x0-Options">M680x0 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  134. </td></tr>
  135. <tr><td align="left" valign="top">&bull; <a href="MCore-Options.html#MCore-Options">MCore Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  136. </td></tr>
  137. <tr><td align="left" valign="top">&bull; <a href="MeP-Options.html#MeP-Options">MeP Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  138. </td></tr>
  139. <tr><td align="left" valign="top">&bull; <a href="MicroBlaze-Options.html#MicroBlaze-Options">MicroBlaze Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  140. </td></tr>
  141. <tr><td align="left" valign="top">&bull; <a href="MIPS-Options.html#MIPS-Options">MIPS Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  142. </td></tr>
  143. <tr><td align="left" valign="top">&bull; <a href="MMIX-Options.html#MMIX-Options">MMIX Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  144. </td></tr>
  145. <tr><td align="left" valign="top">&bull; <a href="MN10300-Options.html#MN10300-Options">MN10300 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  146. </td></tr>
  147. <tr><td align="left" valign="top">&bull; <a href="Moxie-Options.html#Moxie-Options">Moxie Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  148. </td></tr>
  149. <tr><td align="left" valign="top">&bull; <a href="MSP430-Options.html#MSP430-Options">MSP430 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  150. </td></tr>
  151. <tr><td align="left" valign="top">&bull; <a href="NDS32-Options.html#NDS32-Options">NDS32 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  152. </td></tr>
  153. <tr><td align="left" valign="top">&bull; <a href="Nios-II-Options.html#Nios-II-Options">Nios II Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  154. </td></tr>
  155. <tr><td align="left" valign="top">&bull; <a href="Nvidia-PTX-Options.html#Nvidia-PTX-Options">Nvidia PTX Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  156. </td></tr>
  157. <tr><td align="left" valign="top">&bull; <a href="OpenRISC-Options.html#OpenRISC-Options">OpenRISC Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  158. </td></tr>
  159. <tr><td align="left" valign="top">&bull; <a href="PDP_002d11-Options.html#PDP_002d11-Options">PDP-11 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  160. </td></tr>
  161. <tr><td align="left" valign="top">&bull; <a href="picoChip-Options.html#picoChip-Options">picoChip Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  162. </td></tr>
  163. <tr><td align="left" valign="top">&bull; <a href="PowerPC-Options.html#PowerPC-Options">PowerPC Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  164. </td></tr>
  165. <tr><td align="left" valign="top">&bull; <a href="PRU-Options.html#PRU-Options">PRU Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  166. </td></tr>
  167. <tr><td align="left" valign="top">&bull; <a href="RISC_002dV-Options.html#RISC_002dV-Options">RISC-V Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  168. </td></tr>
  169. <tr><td align="left" valign="top">&bull; <a href="RL78-Options.html#RL78-Options">RL78 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  170. </td></tr>
  171. <tr><td align="left" valign="top">&bull; <a href="RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options">RS/6000 and PowerPC Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  172. </td></tr>
  173. <tr><td align="left" valign="top">&bull; <a href="RX-Options.html#RX-Options">RX Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  174. </td></tr>
  175. <tr><td align="left" valign="top">&bull; <a href="S_002f390-and-zSeries-Options.html#S_002f390-and-zSeries-Options">S/390 and zSeries Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  176. </td></tr>
  177. <tr><td align="left" valign="top">&bull; <a href="Score-Options.html#Score-Options">Score Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  178. </td></tr>
  179. <tr><td align="left" valign="top">&bull; <a href="SH-Options.html#SH-Options">SH Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  180. </td></tr>
  181. <tr><td align="left" valign="top">&bull; <a href="Solaris-2-Options.html#Solaris-2-Options">Solaris 2 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  182. </td></tr>
  183. <tr><td align="left" valign="top">&bull; <a href="SPARC-Options.html#SPARC-Options">SPARC Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  184. </td></tr>
  185. <tr><td align="left" valign="top">&bull; <a href="System-V-Options.html#System-V-Options">System V Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  186. </td></tr>
  187. <tr><td align="left" valign="top">&bull; <a href="TILE_002dGx-Options.html#TILE_002dGx-Options">TILE-Gx Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  188. </td></tr>
  189. <tr><td align="left" valign="top">&bull; <a href="TILEPro-Options.html#TILEPro-Options">TILEPro Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  190. </td></tr>
  191. <tr><td align="left" valign="top">&bull; <a href="V850-Options.html#V850-Options">V850 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  192. </td></tr>
  193. <tr><td align="left" valign="top">&bull; <a href="VAX-Options.html#VAX-Options">VAX Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  194. </td></tr>
  195. <tr><td align="left" valign="top">&bull; <a href="Visium-Options.html#Visium-Options">Visium Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  196. </td></tr>
  197. <tr><td align="left" valign="top">&bull; <a href="VMS-Options.html#VMS-Options">VMS Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  198. </td></tr>
  199. <tr><td align="left" valign="top">&bull; <a href="VxWorks-Options.html#VxWorks-Options">VxWorks Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  200. </td></tr>
  201. <tr><td align="left" valign="top">&bull; <a href="x86-Options.html#x86-Options">x86 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  202. </td></tr>
  203. <tr><td align="left" valign="top">&bull; <a href="x86-Windows-Options.html#x86-Windows-Options">x86 Windows Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  204. </td></tr>
  205. <tr><td align="left" valign="top">&bull; <a href="Xstormy16-Options.html#Xstormy16-Options">Xstormy16 Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  206. </td></tr>
  207. <tr><td align="left" valign="top">&bull; <a href="Xtensa-Options.html#Xtensa-Options">Xtensa Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  208. </td></tr>
  209. <tr><td align="left" valign="top">&bull; <a href="zSeries-Options.html#zSeries-Options">zSeries Options</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  210. </td></tr>
  211. </table>
  212. <hr>
  213. <div class="header">
  214. <p>
  215. Next: <a href="Spec-Files.html#Spec-Files" accesskey="n" rel="next">Spec Files</a>, Previous: <a href="Developer-Options.html#Developer-Options" accesskey="p" rel="prev">Developer Options</a>, Up: <a href="Invoking-GCC.html#Invoking-GCC" accesskey="u" rel="up">Invoking GCC</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  216. </div>
  217. </body>
  218. </html>