C/C++ Programmer's Guide (G06.25+)

Compiling, Binding, and Accelerating TNS C
Programs
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
14-14
Using the TNS c89 Utility
Table 14-6. Commonly Used TNS c89 Flags and Guardian Environment
Equivalents (page 1 of 2)
To direct c89 to: Specify this flag:
Equivalent Guardian
environment action
Accelerate a program file -O Run the Accelerator program
Compile the specified source
files, but do not bind them
-c Run the C compiler without
specifying the RUNNABLE
pragma
Display detailed information
from the C compiler, Binder,
and Accelerator
-Wverbose Default behavior
Pass an argument string to
the Accelerator
-Waxcel
[="arguments"]
Specify arguments on the
Accelerator command line or
in a command file
Pass an argument string to
the Binder
-Wbind [=
"arguments"]
Specify arguments in a
Binder command file or run
the Binder interactively
Pass an argument string to
the C compiler
-Wccom [=
"arguments"]
Specify pragmas on the C
compiler command line or in
a source file
Pass an argument string to
the C language preprocessor
-Wcprep [=
"arguments"]
No equivalent in the
Guardian environment
Pass an argument string to
the SQL compiler
-Wsql [= "arguments"] Run the SQL compiler
Produce symbolic debugging
information
-g Specify the SYMBOLS
pragma
Specify the module runs in
the Guardian environment
-Wsystype =
"guardian"
Specify the SYSTYPE
GUARDIAN pragma on the C
compiler RUN command line
or by default
Specify the module runs in
the OSS environment
(default)
-Wsystype = "oss" Specify the SYSTYPE OSS
pragma on the C compiler
RUN command line
Select dynamic binding -WBdynamic No equivalent in the
Guardian environment
Select static binding -WBstatic Default behavior
Suppress the invocation of
Binder
-Wnobind Do not specify the
RUNNABLE pragma
Use the pathname outfile
instead of the default a.out
for the executable file
produced
-o outfile No equivalent in the
Guardian environment