2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
8 Passing Options to the Assembler
9 ********************************
11 .. prevent bad page break with this line
13 You can pass options to the assembler.
15 .. option:: -Wa,option
17 Pass :samp:`{option}` as an option to the assembler. If :samp:`{option}`
18 contains commas, it is split into multiple options at the commas.
20 .. option:: -Xassembler {option}
22 Pass :samp:`{option}` as an option to the assembler. You can use this to
23 supply system-specific assembler options that GCC does not
26 If you want to pass an option that takes an argument, you must use
27 :option:`-Xassembler` twice, once for the option and once for the argument.