Intel® C++ Compiler 16.0 User and Reference Guide
You can decrease the time you spend entering command-line options by using the configuration file to automate command-line entries. Configuration files are automatically processed every time you run the Intel® C++ Compiler. You can insert any valid command-line options into the configuration file. The compiler processes options in the configuration file in the order in which they appear, followed by the specified command-line options when the compiler is invoked.
Options in the configuration file are executed every time you run the compiler. If you have varying option requirements for different projects, use Using Response Files .
The default configuration files icc.cfg and icpc.cfg (Linux* and OS X* EDG compiler) or icl.cfg and icl++.cfg (OS X* CLANG compiler) or icl.cfg (Windows*), are located in the same directory as the compiler executable file. If you want to use a different configuration file than the default, you can use the ICCCFG/ICPCCFG (for Linux* and OS X*) or ICLCFG/ICLXXCFG (for Windows and OS X*) environment variables to specify the location of another configuration file.
Anytime you instruct the compiler to use a different configuration file, the system configuration file(s) are ignored.
The following examples illustrate basic configuration files. The pound (#) character indicates that the rest of the line is a comment.
In the Windows* examples, the compiler reads the configuration file and invokes the I option every time you run the compiler, along with any options specified on the command line.
Example |
---|
## Sample icpc.cfg file -I/my_headers |
## Sample icl.cfg file
/I\my_headers
|
64-bit decimal transcendental functions rely on binary double-extended precision arithmetic. To obtain accurate results, user applications that call 64-bit decimal transcendentals should ensure that the x87 unit is operating in 80-bit precision (64-bit binary significands). In an environment where the default x87 precision is not 80 bits, such as Windows*, it can be set to 80 bits by compiling the application source files with the /Qpc80 option.