HP aC++ A.03.85 Release Notes

HP aC++ Release Notes
New Features in Version A.03.33
Chapter 1 37
The following details the default tool set components location as specified in the above
command and its earlier location before the execution of the command:
Invoking the compiler driver aCC results in the invocation of tool set components from the
alternate location above.
If the compiler is non-native and installed in a different place, the directory path can be
prefixed for all references to the compiler. You have to set the environment variables XDKROOT
or SDKROOT to point to that directory.
For example, if the compiler is installed in directory /user/foo, then the command export
SDKROOT=/user/foo prefixes all references to the compiler with /user/foo.
For information on SDK usage scenarios, see HP-UX Software Development Kit User’s Guide
on http://devresource.hp.com.
TARGETROOT Environment Variable
The TARGETROOT environment variable is used as a prefix for all references to target set
components and must also be set when using a non-native development kit. Some of the
target set components are header files, archive libraries, and shared libraries.
For example, if a target tool set is installed in directory /opt/xdk-ia/ then, export
TARGETROOT=/opt/xdk-ia prefixes all references to the target tool set components with
/opt/xdk-ia.
Native Location Alternate Toolset Location
/opt/aCC/bin/aCC /opt/xdk-ia/opt/aCC/bin/aCC
/opt/aCC/lbin/ctcom /opt/xdk-ia/opt/aCC/lbin/ctcom
/opt/langtools/lbin/ucomp /opt/xdk-ia/opt/langtools/lbin/ucomp
Default Path New Path for Compiler
/opt/aCC/bin/aCC /user/foo/opt/aCC/bin/aCC
/opt/aCC/lbin/ctcom /user/foo/opt/aCC/lbin/ctcom
/opt/langtools/lbin/ucomp /user/foo/opt/langtools/lbin/ucomp