Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

c89(1) OSS Shell and Utilities Reference Manual
-D name[="value" ]
Denes the preprocessor symbol name as value. It is equivalent to a #dene directive
in the source. If no value is given, name is dened as 1. The -D ag has lower pre-
cedence than the -U ag. Thus, if name is specied in both a -U and a -D ag, name is
undened regardless of the order of the ags.
Use this ag to dene compiler feature-test macros.
When the NonStop SQL/MX preprocessor is invoked, all -D specications are
automatically passed to the preprocessor as the preprocessors -d options.
-E Preprocesses the specied source les. No compilation or linking is performed. Out-
put is sent to the standard output le and contains #line directives.
If the -Wsql ag is specied, embedded NonStop SQL/MP statements are processed.
If the -Wsqlmx ag is specied, embedded NonStop SQL/MX statements are pro-
cessed.
The -WH and -WM ags override the -E ag.
-g Produces in the object or executable les information (symbol tables) used for sym-
bolic debugging.
-I directory
Adds directory to the list of directories searched to locate #include les with relative
pathnames. (Relative pathnames do not begin with a slash, /). #include lenames
enclosed in double quotes are searched for rst in the directory of the le with the
#include directive, then in directories named with -I ags, and last in the standard
include directories. #include lenames enclosed in angle brackets (<>) are searched
for rst in directories named with -I ags and then in the standard include directories.
Refer to the Standard Include Directories subsection for details.
-L directory
Adds directory to the list of directories searched to locate libraries specied by
operands of the form -l library. See the Operands subsection for details.
-o outfile Uses the pathname outle instead of the default pathname a.out for the name of the
output object le.
If only one source le is specied and the -c ag is specied, the generated output is
placed into outle. Only one -o ag can be specied. The le specied cannot be an
SQL preprocessing output le.
If a single source le is compiled and linked in one invocation of c89, and if the outle
is the same name as that of the input object le, c89 issues a warning message and
places the output in a temporary le.
-O Sets the compiler to optimization level 2. This ag is equivalent to a -Woptimize=2
ag.
-s Strips symbolic information not required for proper execution from object and execut-
able les. The resulting object le cannot be debugged using a symbolic debugger.
This ag is ignored if the -Wr ag is also specied.
-U name Removes any initial denition of the preprocessor symbol name. The -U ag has
higher precedence than the -D ag. If name is specied in both a -U and a -D ag,
name is undened regardless of the order of the ags.
24 Hewlett-Packard Company 527188-004