Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
c89(1) OSS Shell and Utilities Reference Manual
• If the default file is not write-accessible, the name of the SPI file created is
tpopti.spi.
• A lock file called pgopti.spl. When compilation is complete, the compiler
deletes this file.
If the program is compiled in a Guardian directory:
• The default name for the SPI file is pgospi.
• If the default file is not write-accessible, the name of the SPI file created is
tpgospi.
• A lock file called pgospl. When compilation is complete, the compiler deletes
this file.
If the SPI file already exists when the program is compiled with the -Wcodecov flag,
the compiler updates or adds information to the existing SPI file. If more than one SPI
file exists for the same program, you must concatenate the files manually before you
can use the resulting file as input to the Code Coverage Tool.
For more information about the Code Coverage Tool, see the Code Profiling Utilities
Manual.
-Wcolumns=c
Specifies the maximum number of columns in input source files to process. c is in the
range 20 through 32767. Text in columns beyond column c is ignored.
-Wcplusplus
Directs c89 to assume that files with a .c or .i suffix contain C++ source code, and
defines the feature-test macro __cplusplus. If linking occurs, this flag directs the
linker utility to search the C++ standard run-time library.
If this flag is omitted and none of the operand filenames end in .C, .cpp, .cc,or.cxx,
then source files are compiled as C files only and, if -c is not specified, are only linked
with the C standard library. See Standard Libraries for details.
-WDname[="value" ]
Specifies a macro that is defined only during the NonStop SQL/MX preprocessing step.
See the HP NonStop SQL/MX Programming Manual for C and COBOL for details
about its -d flag=[value] option. This flag can be specified more than once.
Note that all -D values that are supplied to c89 are automatically passed as -d options
to the NonStop SQL/MX preprocessor.
This flag is ignored unless the -Wsqlmx flag is also specified.
-Wdryrun
V
erifies the syntax and semantics of flags and operands specified to c89 and enables the
-Wv flag. No compilation system components are run.
-Weld="args"
Passes the arguments specified in args to the eld utility after any other arguments are
passed. This flag is valid only for TNS/E-targeted compilations.
Use this flag to pass arguments to eld when creating a PIC file. c89 does not check the
validity of eld arguments.
2−8 Hewlett-Packard Company 527188-021