Input control

The options in this category specify the type and location of your source files.
Table 1. Compiler input options
Option name Description
-I

Adds a directory to the search path for include files.

-include (-qinclude)

Specifies additional header files to be included in a compilation unit, as though the files were named in an #include statement in the source file.

-x (-qsourcetype)

Instructs the compiler to treat all recognized source files as a specified source type, regardless of the actual file name suffix.

-qstdinc, -qnostdinc (-nostdinc, -nostdinc++)

Specifies whether the standard include directories are included in the search paths for system and user header files.



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