ILE C/C++ Compiler Reference
Basic syntax for the ixlc command is:
>>-ixlc--+-----+--+-----+--+-----+--+------------+-------------->
'- -?-' '- -c-' '- -+-' '-pgm_source-'
.-------------------.
V |
>----+---------------+-+--+-----------------------+------------><
'-compiler_opts-' '- -B--"--binder_cmd--"-'
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.
- 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
- ALIAS compiler option
- DEFINE compiler option
- PPGENOPT compiler option
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.