Open System Services Shell and Utilities Reference Manual (G06.25+, H06.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 lename.
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 les and annotated source les 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 les that contain embedded module denitions are produced instead of MDF
les, while restrictions associated with release 1.8 or earlier are ignored.
TMPDIR
Determines the pathname that overrides the default directory for temporary les
created by c89 and the components it invokes. By default, temporary les 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
components environment variable, if possible.
EXAMPLES
1. The command
c89 test1.c
compiles the source le test1.c and links the object le into an executable le a.out in
the current working directory.
2. The command
c89 -Wnowarn -Wwarn=262 test1.c
compiles the source le test1.c and links the object le into an executable le a.out in
the current working directory. All compiler warning messages except message number
262 are disabled.
3. The command
c89 -c /home/me/app/test1.c
compiles the source le /home/me/app/test1.c into the object le test1.o in the current
working directory.
226 Hewlett-Packard Company 527188-003