-S

Category

Output control

@PROCESS

None.

Purpose

Generates an assembler language file for each source file.

Syntax

Read syntax diagramSkip visual syntax diagram -S

Rules

When this option is specified, the compiler produces the assembler source files as output instead of an object or an executable file.

Restrictions

Note:
  • The -S and -qlto options must not be specified together.
  • The generated assembler file does not include all the data that is included in a .o file by -g.

Examples

xlf95 -O3 -S test.f               # Produces test.s

Related information

The option can be used to specify a name for the resulting assembler source file.

For information about the assembler-language format, see the AIX Assembler Language Reference.