HP aC++ Release Notes Version A.03.95 (5900-1789; September 2011)

HP aC++ Release Notes
New Features in Version A.03.70
Chapter 1 15
-rpath-link $1 =>
Deletes -rpath-link and the arguments from the command line.
--gccopt $1=$2 => -hpopt $2
Replaces “--gccopt option=name" at the command line with "-hpopt name".
-gccopt $1 => +xyz
Replaces "-gccopt optionarg" at the command-line with "+xyz".
-Bstatic => -a archive -noshared
Replaces "-Bstatic" with "-a archive -noshared".
Configuration File to set Site-wide Default Options
You can specify default sitewide options for HP aC++ in a configuration file. On startup, HP aC++ reads,
and applies the default options from the file if the file is found and readable. No default options are set if the
file is not found or readable.
The default path of the configuration file is set to the following locations:
/var/ansic/share/cc.conf in C mode
/var/aCC/share/aCC.conf in C++ mode
To change the path of the configuration file, use the following environment variables:
CC_CONFIG in C mode
CXX_CONFIG in C++ mode
The options in the configuration file can be specified in the same format as that for CCOPTS and
CXXOPTS.
[options-list-1][<vbar> [options-list-2]]
Where:
options-list-1 is applied before the options in the command line
options-list-2 is applied after the options in the command line
<vbar> is |
The final option ordering is as follows:
<file-options-1><envvar-options-1><commandline-options> <envvar-option
s-2><file-options-2>
NOTE No default configuration files are shipped with HP aC++. The system administrator can
create them, if required.