By default the Intel® C++ Compiler setup program installs the 32-bit compiler on the 32-bit systems and the 64-bit compiler on the 64-bit systems. You can also install the 32-bit compiler on a 64-bit system and use both 32-bit and 64-bit compilers to produce 32-bit and 64-bit applications on a single 64-bit development system. To set up the environment variables to build with either the 32-bit or the 64-bit compilers on your 64-bit machine simply run the iccvars.sh script provided for each compiler as shown below:
// On 64-bit machine
// Run 64-bit binary on the 64-bit machine
// point to the 32-bit compiler
// Run 32-bit binary that was built using "the 32-bit compiler on the 64-bit machine", on the 64-bit machine
For more complete information about compiler optimizations, see our Optimization Notice.