選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

144 行
5.5KB

  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>H8/300 Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="H8/300 Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="H8/300 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="Submodel-Options.html#Submodel-Options" rel="up" title="Submodel Options">
  30. <link href="HPPA-Options.html#HPPA-Options" rel="next" title="HPPA Options">
  31. <link href="GNU_002fLinux-Options.html#GNU_002fLinux-Options" rel="prev" title="GNU/Linux 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="H8_002f300-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="HPPA-Options.html#HPPA-Options" accesskey="n" rel="next">HPPA Options</a>, Previous: <a href="GNU_002fLinux-Options.html#GNU_002fLinux-Options" accesskey="p" rel="prev">GNU/Linux Options</a>, Up: <a href="Submodel-Options.html#Submodel-Options" accesskey="u" rel="up">Submodel Options</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="H8_002f300-Options-1"></a>
  68. <h4 class="subsection">3.19.19 H8/300 Options</h4>
  69. <p>These &lsquo;<samp>-m</samp>&rsquo; options are defined for the H8/300 implementations:
  70. </p>
  71. <dl compact="compact">
  72. <dt><code>-mrelax</code></dt>
  73. <dd><a name="index-mrelax-1"></a>
  74. <p>Shorten some address references at link time, when possible; uses the
  75. linker option <samp>-relax</samp>. See <a href="http://sourceware.org/binutils/docs/ld/H8_002f300.html#H8_002f300"><code>ld</code> and the H8/300</a> in <cite>Using ld</cite>, for a fuller description.
  76. </p>
  77. </dd>
  78. <dt><code>-mh</code></dt>
  79. <dd><a name="index-mh"></a>
  80. <p>Generate code for the H8/300H.
  81. </p>
  82. </dd>
  83. <dt><code>-ms</code></dt>
  84. <dd><a name="index-ms"></a>
  85. <p>Generate code for the H8S.
  86. </p>
  87. </dd>
  88. <dt><code>-mn</code></dt>
  89. <dd><a name="index-mn"></a>
  90. <p>Generate code for the H8S and H8/300H in the normal mode. This switch
  91. must be used either with <samp>-mh</samp> or <samp>-ms</samp>.
  92. </p>
  93. </dd>
  94. <dt><code>-ms2600</code></dt>
  95. <dd><a name="index-ms2600"></a>
  96. <p>Generate code for the H8S/2600. This switch must be used with <samp>-ms</samp>.
  97. </p>
  98. </dd>
  99. <dt><code>-mexr</code></dt>
  100. <dd><a name="index-mexr"></a>
  101. <p>Extended registers are stored on stack before execution of function
  102. with monitor attribute. Default option is <samp>-mexr</samp>.
  103. This option is valid only for H8S targets.
  104. </p>
  105. </dd>
  106. <dt><code>-mno-exr</code></dt>
  107. <dd><a name="index-mno_002dexr"></a>
  108. <a name="index-mexr-1"></a>
  109. <p>Extended registers are not stored on stack before execution of function
  110. with monitor attribute. Default option is <samp>-mno-exr</samp>.
  111. This option is valid only for H8S targets.
  112. </p>
  113. </dd>
  114. <dt><code>-mint32</code></dt>
  115. <dd><a name="index-mint32-1"></a>
  116. <p>Make <code>int</code> data 32 bits by default.
  117. </p>
  118. </dd>
  119. <dt><code>-malign-300</code></dt>
  120. <dd><a name="index-malign_002d300"></a>
  121. <p>On the H8/300H and H8S, use the same alignment rules as for the H8/300.
  122. The default for the H8/300H and H8S is to align longs and floats on
  123. 4-byte boundaries.
  124. <samp>-malign-300</samp> causes them to be aligned on 2-byte boundaries.
  125. This option has no effect on the H8/300.
  126. </p></dd>
  127. </dl>
  128. </body>
  129. </html>