Assembler Options (Using the GNU Compiler Collection (GCC)) (original) (raw)
Next: Options for Linking, Previous: Options Controlling the Preprocessor, Up: GCC Command Options [Contents][Index]
3.15 Passing Options to the Assembler ¶
You can pass options to the assembler.
-Wa,option ¶
Pass option as an option to the assembler. If optioncontains commas, it is split into multiple options at the commas.
-Xassembler option ¶
Pass option as an option to the assembler. You can use this to supply system-specific assembler options that GCC does not recognize.
If you want to pass an option that takes an argument, you must use-Xassembler twice, once for the option and once for the argument.