blob: bf0d61acffec927ffc208e30d66e6f280aaeb6ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<div class="section-level-extent" id="Assembler-Options"> <div class="nav-panel"> <p> Next: <a href="link-options" accesskey="n" rel="next">Options for Linking</a>, Previous: <a href="preprocessor-options" accesskey="p" rel="prev">Options Controlling the Preprocessor</a>, Up: <a href="invoking-gcc" accesskey="u" rel="up">GCC Command Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="section" id="Passing-Options-to-the-Assembler"><span>3.14 Passing Options to the Assembler<a class="copiable-link" href="#Passing-Options-to-the-Assembler"> ¶</a></span></h1> <p>You can pass options to the assembler. </p> <dl class="table"> <dt>
<span><code class="code">-Wa,<var class="var">option</var></code><a class="copiable-link" href="#index-Wa"> ¶</a></span>
</dt> <dd>
<p>Pass <var class="var">option</var> as an option to the assembler. If <var class="var">option</var> contains commas, it is split into multiple options at the commas. </p> </dd> <dt>
<span><code class="code">-Xassembler <var class="var">option</var></code><a class="copiable-link" href="#index-Xassembler"> ¶</a></span>
</dt> <dd>
<p>Pass <var class="var">option</var> as an option to the assembler. You can use this to supply system-specific assembler options that GCC does not recognize. </p> <p>If you want to pass an option that takes an argument, you must use <samp class="option">-Xassembler</samp> twice, once for the option and once for the argument. </p> </dd> </dl> </div><div class="_attribution">
<p class="_attribution-p">
© Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
<a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Assembler-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Assembler-Options.html</a>
</p>
</div>
|