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

User Commands (c) c99(1)
Environment Variables
The following environment variables affect the execution of c99.
CCOMBE
Determines the pathname of the ccombe component of the C and C++ compilers.
/usr/cmplr/ccombe is the default location for the OSS environment.
COMP_ROOT
Changes the default pathnames for:
The c99 compilation system components
The standard include directory
The standard library directories
In the OSS environment, the string specified in COMP_ROOT is added to the begin-
ning of the default pathnames.
If a component’s environment variable is set explicitly, the COMP_ROOT environ-
ment variable does not modify that component’s environment variable.
ELD Determines the pathname of the eld utility invoked by c99. /usr/bin/eld is the default
location for the OSS environment.
MXCMP
Determines the pathname of the NonStop SQL/MX release 1 compiler.
/G/system/system/mxcmp is the default.
MXCMPUM
Determines the pathname of the NonStop SQL/MX release 2 compiler.
/usr/tandem/sqlmx/bin/mxCompileUserModule is the default.
MXSQLC
Determines the pathname of the C/C++ NonStop SQL/MX preprocessor, mxsqlc.
/usr/tandem/sqlmx/bin/mxsqlc is the default.
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 c99 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, c99 uses the default directory as described on the tempnam(3) reference page.
EXAMPLES
1. The command
c99 test1.c
compiles the source file test1.c and links the object file into an executable file
a.out in the current working directory.
527188-021 Hewlett-Packard Company 259