-qasm_as

Description

Specifies the path and flags used to invoke the assembler in order to handle assembler code in an asm statement.

Syntax

Read syntax diagramSkip visual syntax diagram>>- -q--+-asm_as--=--asm_path--flags-+-------------------------><
        '-noasm_as-------------------'

where

asm_path A space-separated list of flags required to invoke the assembler for asm statements
flags The full path name of the assembler to be used

By default, the compiler read the asm_path from the compiler configuration file.

Notes

Use this option to specify an alternate assembler program and the flags required to invoke that assembler.

This option overrides the default setting of the as command defined in the compiler configuration file.

Example

To instruct the compiler to use the assembler program at /bin/as when it encounters inline assembler code in myprog.c, specify the following on the command line:

xlc myprog.c -qasm_as=/bin/as

Related information