Yesterday, I downloaded the C ++ compiler for non-commercial development on Intel's official website. My system is ubuntu64bit, So I downloaded the Intel64 version. For more information about the differences between ia32, ia64, and intel64, see Wikipedia. The 32-bit system can directly download ia32. Since Intel's compiler currently only supports Ubuntu9.04, I encountered a problem when installing it on 9.10. Decompress the installation package, run./install. sh on the terminal, and follow the prompts.
Yesterday, I downloaded the non-commercial C ++ compiler from Intel's official website. My system is Ubuntu 64-bit, so I downloaded the Intel64 version. For more information about the differences between ia32, ia64, and intel64, see Wikipedia. The 32-bit system can directly download ia32.
Since Intel's compiler currently only supports Ubuntu 9.04, I encountered a problem when installing it on 9.10. Decompress the installation package, run./install. sh on the terminal, and follow the prompts step by step. when checking the system environment, the system prompts that the 32-bit libgcc and other libraries are not found. According to the instructions in the installation package, the ia32-libs is installed, the installer still prompts that the file is not found. After Google search, the solution was found on the Ubuntu English forum.
I remember that when Karmic was in the testing phase, after a small update, we found that many software dependent on libstdc ++ 5 could not run, because Karmic has replaced this package with libstdc ++ 6. This problem also occurs when installing the Intel compiler.
Download the libstdc ++ 5 deb package, decompress the package, find libstdc ++. so.5.0.7 in the./usr/lib folder, and
Sudo install libstdc ++. so.5.0.7/usr/lib32
Cd/usr/lib32
Sudo ln-s libstdc ++. so.5.0.7 libstdc ++. so.5
PS: the above method is too troublesome and seems to be unable to use the compiler after installation. Search for libstdc ++ 5 on the Debian official website. Download the deb package of amd64 to install it.
In this way, the installation will be successful. I did not use sudo for installation. I chose to install it directly in the/home/ariesbear/intel directory.
To use this compiler, run the following command:
Source/link/to/the/compiler/bin/intel64/iccvars_intel64.sh
Modify the 32-bit system. Add this command to the. bashrc file, and then you can use icc to compile the program directly.
It is said that the execution efficiency of the program compiled by Intel compiler will be greatly improved. Please try again. I am very interested in the LinuxDNA project. What if I use the Linux kernel compiled by icc compared to gcc?
Author: Ariesbear