HP aC++/HP C A.06.20 Programmer's Guide

Syntax:
export TMPDIR=directory ksh/sh notation
setenv TMPDIR directory csh notation
directory is the name of an HP-UX directory where you want HP aC++ to put
temporary files during compilation.
Example:
export TMPDIR=/mnt/temp ksh notation
setenv TMPDIR /mnt/temp csh notation
The above example specifies that HP aC++ should put all temporary files in /mnt/
temp.
Floating Installation
More than one version of the HP aC++ compiler can be installed on one system at the
same time. The floating installation feature allows you to install the compiler in any
location. You can install as many compiler versions as required, depending on your
system’s resources.
HP aC++
By default, HP aC++ is installed under the /opt/aCC directory. In earlier releases, the
compiler driver (aCC) looked for related files in subdirectories of the /opt/aCC
directory. This prevented installation of more than one version of HP aC++ on the same
system at the same time.
Only files in /opt/aCC are affected by floating installation. Regardless of the HP aC++
driver you use, the compiler still uses the libraries, linker, and other files located in
/usr/lib and /usr/ccs.
Floating installation is designed to help facilitate in-house development. You must not
ship libraries in non-standard places, because explicit runtime library specifications
and linker options are required.
You can use the __HP_aCC predefined macro to determine which version is being run.
HP C
By default, HP C is installed under the /opt/ansic directory. In earlier releases, the
compiler driver (cc) looked for related files in subdirectories of the /opt/ansic
directory. This prevented installation of more than one version of HP C on the same
system at the same time.
Only files in /opt/ansic are affected by floating installation. Regardless of the HP
C driver you use, the compiler still uses the libraries, linker, and other files located in
/usr/lib and /usr/ccs.
Floating Installation 35