ixlc Command and Options Syntax
where:
- ixlc
- 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:
Alternately, you can also compile a data management source program by using theqsys.lib/.../name.mbr-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 :
is equivalent to specifying:ixlc hello.c -qgen -qnogenixlc 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
- ALIAS compiler option
- DEFINE compiler option
- PPGENOPT compiler option
