Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

c89(1) OSS Shell and Utilities Reference Manual
SQLCFE
Determines the pathname of the native C NonStop SQL/MP processor, sqlcfe.
/usr/lib/sqlcfe is the default location for the OSS environment.
This environment variable is used for TNS/R-targeted compilations only.
SQLCOMP
Determines the pathname of the native NonStop SQL/MP compiler, sqlcomp.
$SYSTEM.SYSTEM.SQLCOMP is the default location for the OSS environment.
The value of SQLCOMP must be a Guardian filename.
SQLMX_PREPROCESSOR_VERSION
Indicates the preprocessor rules and features to be used. Specifying the value 800
causes rules and features associated with release 1.8 to be used; the mxcmp compiler
is used and only MDF files and annotated source files are produced, while rules and
features associated with release 2.0 and later are ignored. Specifying a value of 1200
or larger or not specifying a value causes rules and features associated with release 2.0
and later to be used; the mxCompileUserModule compiler is used and annotated
source files that contain embedded module definitions are produced instead of MDF
files, while restrictions associated with release 1.8 or earlier are ignored.
TMPDIR
Determines the pathname that overrides the default directory for temporary files
created by c89 and the components it invokes. By default, temporary files are stored in
the /tmp directory. If TMPDIR is set to a directory that does not exist or is not write-
able, c89 uses the default directory as described on the tempnam(3) reference page.
UGEN Determines the pathname of the ugen assembler component of the C and C++ com-
pilers. /usr/lib/ugen is the default location for the OSS environment.
This environment variable is used for TNS/R-targeted compilations only.
UOPT Determines the pathname of the uopt optimizer component of the C and C++ com-
pilers. /usr/lib/uopt is the default location for the OSS environment.
This environment variable is used for TNS/R-targeted compilations only.
Use the COMP_ROOT environment variable instead of specifying each compilation system
component’s environment variable, if possible.
EXAMPLES
1. The command
c89 test1.c
compiles the source file test1.c and links the object file into an executable file a.out in
the current working directory.
2. The command
c89 -Wnowarn -Wwarn=262 test1.c
compiles the source file test1.c and links the object file into an executable file a.out in
the current working directory. All compiler warning messages except message number
262 are disabled.
230 Hewlett-Packard Company 527188-021