HP aC++ A.03.85 Release Notes

HP aC++ Release Notes
What’s in This Version
Chapter 110
NOTE If the array is initialized with addresses, this option can cause an increase in
run time. The increase is based on the number of addresses in the array
initializer and the number of times the array is initialized. This overhead is
normally negligible.
Option Mapping Support for Easy Migration
The option mapping support available in HP aC++ A.03.70 facilitates easy migration of build
environment from a different compiler to HP aC++. You can use the option mapping files to
map the options in the third party compilers to HP aC++ equivalents
Mapping File:
The mapping file is a text file that defines the mapping rules. The compiler reads the mapping
file and applies the specified replacements to the options on the command line. This
minimizes the need to make Makefile or script changes. By default, the path for the mapping
file is set to the following location:
/opt/aCC/lib/option.map
You may either define the mapping rules in this file or set the mapping file path to an
alternate location. To specify an alternate location, set the CXX_MAP_FILE environment
variable, like the following example:
export CXX_MAP_FILE=/home/src/my_option.map (sh/ksh)
setenv CXX_MAP_FILE /home/src/my_option.map (csh)
where:
my_option.map is the name of the new mapping file.
To disable the use of the mapping file (in spite of having one in the default location), set the
above environment variable to NULL, like the following example:
export CXX_MAP_FILE= (sh/ksh)
export CXX_MAP_FILE="" (sh/ksh)
setenv CXX_MAP_FILE "" (csh)
Defining the Mapping Rules:
Following is the syntax for defining the rules in the mapping file:
LHS => RHS (Note the space before and after "=>")
Where:
LHS is the third party compiler optio.
RHS is the HP aC++ compiler option