>>- -q--option_keyword--+------------------+------------------->< | .-:---------. | | V | | '-=----suboption-+-'
xlc -qnosource MyFirstProg.c -qsource MyNewProg.c
would produce a source listing for both MyNewProg.c and MyFirstProg.c because the last source option specified (-qsource) takes precedence.
xlc -qLIST -qfloat=nomaf file.c xlc file.c -qxref -qsource
You can also abbreviate many compiler options. For example, specifying -qopt is equivalent to specifying -qoptimize on the command line.
xlc -qflag=w:e -qattr=full file.c
compiles the C source file file.c using the option -qflag to specify the severity level of messages to be reported. The -qflag suboption w (warning) sets the minimum level of severity to be reported on the listing, and suboption e (error) sets the minimum level of severity to be reported on the terminal. The -qattr with suboption full will produce an attribute listing of all identifiers in the program.