I have downloaded and installed the one month trial version of the Intel C++ compiler for Linux (l_ccompxe_2013_sp1.3.174). I haven't used it, but as far as I know, I have installed it correctly (just Intel(R) C++ Compiler XE 14.0 Update 3; Intel(R) Debugger 13.0; 7. GNU* GDB 7.5), including by running the script whose symlink is /opt/intel/bin/compilervars.sh. The actual script location and the parameter I gave it was:
(The .csh version produced an error "line 39: syntax error: unexpected end of file", which is probably nothing to worry about and to get the above script to work, I followed the advice on various forums to change its shebang to "#!/bin/bash".)
The official documentation for how to integrate the compiler, its doco and the Intel debugger into Eclipse is in the installed Intel main User and Reference Guide, in "Using Eclipse (Linux OS)", specifically the page "Adding the Compiler and Debugger to Eclipse". After guiding the program to look in "ile:/opt/intel/composer_xe_2013_sp1.3.174/eclipse_support/cdt8.0/eclipse/" with "Group items by category" disabled, I selected the four options:
Intel(R) C++ Compiler XE 14.0 for Linux* OS 8.1.0
Intel(R) C++ Composer XE 2013 SP1 Documentation for Linux* OS 8.2.0
Intel(R) Debugger for applications 13.0 8.0.4
Intel(R) Debugger for applications that run on Intel(R) 64 and Intel(R) MIC Architecture 13.0 1.0.4
When I click Next, there are some transient error messages (Cannot complete operation. Computing alternate solutions, may take a while . . .) and a final display of the first two not being able to be installed and the last two being ready to install. I was able to click the top item and find an error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: Intel(R) C++ Compiler XE 14.0 for Linux* OS 8.1.0 (com.intel.compiler.cdt.feature.group 8.1.0)
Missing requirement: Intel(R) C++ Compiler XE 14.0 for Linux* OS 8.1.0 (com.intel.compiler.cdt.feature.group 8.1.0) requires 'com.intel.compiler.cdt [8.1.0]' but it could not be found
Googling the error message lead to a single forum discussion: http://stackoverflow.com/questions/19710984/eclipse-with-intel-c-compiler-icc in which the solution apparently involved following some similar, more detailed, but now out of date instructions at:https://software.intel.com/en-us/articles/intel-c-compiler-for-linux-using-intel-compilers-with-the-eclipse-ide-pdf and the original poster realizing that they were running Eclipse on an open-source JVM (Iced Tea), which I recall leads to all sorts of subtle trouble. He switched to the Oracle JRE and was able to complete the integration.
I am running Eclipse on the latest (2014-06-29) Oracle JRE for 64 bit Linux:
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
I tried running Eclipse as the mortal user with which I installed it and as root. Still the same trouble occurs. When running Eclipse as root, I proceeded to install the bottom two items, restarted Eclipse and tried again to install the top two. The same trouble occurs.
The Eclipse and CDT versions are:
Version: Luna Release (4.4.0) Build id: 20140612-0600
Eclipse C/C++ Development Tools 220.127.116.1106
I installed this from eclipse-cpp-luna-R-linux-gtk-x86_64.tar.gz . It works fine with G++ 4.8.2, at least for a simple program: compiles and enables me to step through the program line-by-line. The Debian 8 testing system was installed earlier this year under Virtual Box and my attempts to update it recently via Synaptic have not been successful. Maybe I should try a fresh installation of Debian 8. I want to use this rather than Debian 7 so I can use a later version of GCC. I have been lead to believe that it is a bad idea to install a later version of GCC on a Debian system since it might upset other programs which rely on it.
I want to use the Intel C++ compiler with an IDE and am following the recommended steps. If I can't get it going, I will try to use it under Codelite, though I haven't found an account of anyone doing this.