-qsuffix

Category

Input control

@PROCESS

None.

Purpose

Specifies the source-file suffix on the command line.

This option saves time for the user by permitting files to be used as named with minimal makefile modifications. Only one setting is supported at any one time for any particular file type.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--suffix--=--+-f--=--source-file-suffix----------------+-><
                   +-o--=--object-file-suffix----------------+   
                   +-s--=--assembler-source-file-suffix------+   
                   '-cpp--=--preprocessor-source-file-suffix-'   

Defaults

Not applicable.

Parameters

f=suffix
Where suffix represents the new source-file-suffix
o=suffix
Where suffix represents the new object-file-suffix
s=suffix
Where suffix represents the new assembler-source-file-suffix
cpp=suffix
Where suffix represents the new preprocessor-source-file-suffix

Rules

  • The new suffix setting is case-sensitive.
  • The new suffix can be of any length.

Examples

For instance,
     xlf a1.f2k a2.F2K -qsuffix=f=f2k:cpp=F2K
will cause these effects:
  • The compiler is invoked for source files with a suffix of .f2k and .F2K.
  • cpp is invoked for files with a suffix of .F2K.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us