Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Itanium-based Systems: HP aC++/HP ANSI C Release Notes > Chapter 2 What’s New in This Version

System-wide Option Configuration

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

There is a new ability to configure compiler options on a system-wide basis. The compiler now reads the configuration file:

/var/aCC/share/aCC.conf (aC++), or

/var/ansic/share/cc.conf (ANSI C), if present.

The options in the configuration file can be specified in the same manner as that for CCOPTS and CXXOPTS, namely:

[options-list-1][| [options-list-2]]

where options in options-list-1 are applied before the options in the command line, and options in options-list-2 are applied after the options in the command line.

The final option ordering would be:

<file-options-1><envvar-options-1><command-line-options>

<envvar-options-2><file-options-2>

The config file options before the "|" character set the defaults for compilations, and the options after the character override the user’s command line settings.

NOTE: No configuration files are shipped along with aC++, but can be installed by the system administrator, if required.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.