Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

179 rindas
7.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>x86 Windows Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="x86 Windows Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="x86 Windows 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="Xstormy16-Options.html#Xstormy16-Options" rel="next" title="Xstormy16 Options">
  31. <link href="x86-Options.html#x86-Options" rel="prev" title="x86 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="x86-Windows-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Xstormy16-Options.html#Xstormy16-Options" accesskey="n" rel="next">Xstormy16 Options</a>, Previous: <a href="x86-Options.html#x86-Options" accesskey="p" rel="prev">x86 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="x86-Windows-Options-1"></a>
  68. <h4 class="subsection">3.19.60 x86 Windows Options</h4>
  69. <a name="index-x86-Windows-Options"></a>
  70. <a name="index-Windows-Options-for-x86"></a>
  71. <p>These additional options are available for Microsoft Windows targets:
  72. </p>
  73. <dl compact="compact">
  74. <dt><code>-mconsole</code></dt>
  75. <dd><a name="index-mconsole"></a>
  76. <p>This option
  77. specifies that a console application is to be generated, by
  78. instructing the linker to set the PE header subsystem type
  79. required for console applications.
  80. This option is available for Cygwin and MinGW targets and is
  81. enabled by default on those targets.
  82. </p>
  83. </dd>
  84. <dt><code>-mdll</code></dt>
  85. <dd><a name="index-mdll"></a>
  86. <p>This option is available for Cygwin and MinGW targets. It
  87. specifies that a DLL&mdash;a dynamic link library&mdash;is to be
  88. generated, enabling the selection of the required runtime
  89. startup object and entry point.
  90. </p>
  91. </dd>
  92. <dt><code>-mnop-fun-dllimport</code></dt>
  93. <dd><a name="index-mnop_002dfun_002ddllimport"></a>
  94. <p>This option is available for Cygwin and MinGW targets. It
  95. specifies that the <code>dllimport</code> attribute should be ignored.
  96. </p>
  97. </dd>
  98. <dt><code>-mthread</code></dt>
  99. <dd><a name="index-mthread"></a>
  100. <p>This option is available for MinGW targets. It specifies
  101. that MinGW-specific thread support is to be used.
  102. </p>
  103. </dd>
  104. <dt><code>-municode</code></dt>
  105. <dd><a name="index-municode"></a>
  106. <p>This option is available for MinGW-w64 targets. It causes
  107. the <code>UNICODE</code> preprocessor macro to be predefined, and
  108. chooses Unicode-capable runtime startup code.
  109. </p>
  110. </dd>
  111. <dt><code>-mwin32</code></dt>
  112. <dd><a name="index-mwin32"></a>
  113. <p>This option is available for Cygwin and MinGW targets. It
  114. specifies that the typical Microsoft Windows predefined macros are to
  115. be set in the pre-processor, but does not influence the choice
  116. of runtime library/startup code.
  117. </p>
  118. </dd>
  119. <dt><code>-mwindows</code></dt>
  120. <dd><a name="index-mwindows"></a>
  121. <p>This option is available for Cygwin and MinGW targets. It
  122. specifies that a GUI application is to be generated by
  123. instructing the linker to set the PE header subsystem type
  124. appropriately.
  125. </p>
  126. </dd>
  127. <dt><code>-fno-set-stack-executable</code></dt>
  128. <dd><a name="index-fno_002dset_002dstack_002dexecutable"></a>
  129. <a name="index-fset_002dstack_002dexecutable"></a>
  130. <p>This option is available for MinGW targets. It specifies that
  131. the executable flag for the stack used by nested functions isn&rsquo;t
  132. set. This is necessary for binaries running in kernel mode of
  133. Microsoft Windows, as there the User32 API, which is used to set executable
  134. privileges, isn&rsquo;t available.
  135. </p>
  136. </dd>
  137. <dt><code>-fwritable-relocated-rdata</code></dt>
  138. <dd><a name="index-fno_002dwritable_002drelocated_002drdata"></a>
  139. <a name="index-fwritable_002drelocated_002drdata"></a>
  140. <p>This option is available for MinGW and Cygwin targets. It specifies
  141. that relocated-data in read-only section is put into the <code>.data</code>
  142. section. This is a necessary for older runtimes not supporting
  143. modification of <code>.rdata</code> sections for pseudo-relocation.
  144. </p>
  145. </dd>
  146. <dt><code>-mpe-aligned-commons</code></dt>
  147. <dd><a name="index-mpe_002daligned_002dcommons"></a>
  148. <p>This option is available for Cygwin and MinGW targets. It
  149. specifies that the GNU extension to the PE file format that
  150. permits the correct alignment of COMMON variables should be
  151. used when generating code. It is enabled by default if
  152. GCC detects that the target assembler found during configuration
  153. supports the feature.
  154. </p></dd>
  155. </dl>
  156. <p>See also under <a href="x86-Options.html#x86-Options">x86 Options</a> for standard options.
  157. </p>
  158. <hr>
  159. <div class="header">
  160. <p>
  161. Next: <a href="Xstormy16-Options.html#Xstormy16-Options" accesskey="n" rel="next">Xstormy16 Options</a>, Previous: <a href="x86-Options.html#x86-Options" accesskey="p" rel="prev">x86 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>
  162. </div>
  163. </body>
  164. </html>