XL C/C++ is invoked using the following syntax, where invocation can be replaced with any valid XL C/C++ invocation command:
.-------------------------------------------. V | >>-invocation----+----------------------+--+-------------+-+--->< '-command_line_options-' '-input_files-'
The parameters of the compiler invocation command can be the names of input files, compiler options, and linkage-editor options.
Compiler options perform a wide variety of functions, such as setting compiler characteristics, describing the object code and compiler output to be produced, and performing some preprocessor functions.
By default, the invocation command calls both the compiler and the linkage editor. It passes linkage editor options to the linkage editor. Consequently, the invocation commands also accept all linkage editor options. To compile without link-editing, use the -c compiler option. The -c option stops the compiler after compilation is completed and produces as output, an object file file_name.o for each file_name.c input source file, unless the -o option was used to specify a different object file name. The linkage editor is not invoked. You can link-edit the object files later using the same invocation command, specifying the object files without the -c option.
Related information