Supporting icc

Brad King brad.king at kitware.com
Fri May 12 23:37:54 CEST 2006


Allen Winter wrote:
> I'm trying to put in support for Intel's C/C++ compiler (icc).  I'm getting nowhere fast.
> 
> % export CC=icc
> % export CXX=icc
> % cmake ..
> -- Check for working CXX compiler: /opt/intel/cc/9.0/bin/icc
> -- Check for working CXX compiler: /opt/intel/cc/9.0/bin/icc -- broken
> The C++ compiler "/opt/intel/cc/9.0/bin/icc" is not able to compile a simple test program.
> It fails with the following output:
[snip]
> CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'

CMake is telling you exactly what is wrong.  Your intel compiler 
installation is broken.  Have you built a hello-world program with this 
compiler:

   icc hello.cxx

?

-Brad


More information about the Kde-buildsystem mailing list