Basic compiler command invocation. By default, the ixlc command
instructs the compiler to create a bound program.
-?
Specifying this flag displays help for the ixlc command.
-c
Specifying this flag instructs the compiler to create a module.
-+
Specifying this flag invokes the C++ compiler.
-prtmsgid
Specifying this flag causes additional information on compiler
error messages to be displayed. The additional information includes
the line number, column number, message identifier, and message severity.
pgm_source
Specifies the name of the program source file being compiled.
You can compile an IFS source program or data management source program
by providing the source name as:
qsys.lib/.../name.mbr
Alternately,
you can also compile a data management source program by using the -qsrcfile(library/file) and -qsrcmbr(member) Qshell
compiler options to identify the location of the program source.
compiler_opts
Specifies the ixlc name of an ILE C/C++ compiler option.
-B"binder_cmd"
Specifies a binder command and options. For example:
-B"CRTPGM PGM(library/target) MODULE(...)"
Notes on Usage
ixlc commands and options are case sensitive.
It is possible to specify conflicting options when invoking the
compiler. If this occurs, options specified later on the command line
will override options specified earlier. For example, invoking the
compiler by specifying :
ixlc hello.c -qgen -qnogen
is
equivalent to specifying:
ixlc hello.c -qnogen
Some option settings are cumulative, and can be specified more
than once on the command line without cancelling out earlier specifications
of that same option. These options include:
settings within the OPTION compiler option group
settings within the CHECKOUT compiler option group