HP aC++/HP C A.06.20 Programmer's Guide

Options for Naming the Output File
These options allow you to name the compilation output file something other than the
default name.
-o
-o outfile
The outfile parameter is the name of the file containing the output of the compilation.
This option causes the output of the compilation to be placed in outfile.
Without this option the default name is a.out. When compiling a single source file
with the -c option, you can use the -o option to specify the name and location of the
object file.
-.suffix
-.suffix
The suffix parameter represents the character or characters to be used as the output
file name suffix. suffix cannot be the same as the original source file name suffix.
Using this option causes the compiler to direct output from the -E option into a file
with the corresponding .suffix instead of into a corresponding .c file.
Example:
aCC -E -.i prog.C
This command preprocesses the code in prog.C and puts the resulting code in the file
prog.i.
Native Language Support Option
The following is an option to enable native language support:
-Y
-Y
The -Y option enables Native Language Support (NLS) of 8-bit, 16-bit and 4-byte EUC
characters in comments, string literals, and character constants.
The language value (refer to environ(5) for the LANG environment variable) is used
to initialize the correct tables for interpreting comments, string literals, and character
constants. The language value is also used to build the path name to the proper message
catalog.
For more information and description of the NLS model, refer to hpnls, lang, and
environ in HP-UX Reference Manual.
Options for Naming the Output File 65