[CMake] Intel compiler on OS X? (solved)
Convey, Christian J CIV NUWC NWPT
christian.convey at navy.mil
Thu Jul 2 14:14:24 EDT 2009
It turns out that to compile c++ code, you use the "icpc" command to invoke the compiler, rather than the "icc" command.
> -----Original Message-----
> From: cmake-bounces at cmake.org
> [mailto:cmake-bounces at cmake.org] On Behalf Of Convey,
> Christian J CIV NUWC NWPT
> Sent: Thursday, July 02, 2009 13:42
> To: cmake at cmake.org
> Subject: [CMake] Intel compiler on OS X?
>
> Has anyone successfully used cmake (2.4.6) with the Intel
> "icc" compiler (version 11.1) for OS X?
>
> When I run cmake I get an error: During cmake's "configure"
> phase, cmake tells me that it couldn't successfully compile a
> simple test program using the "icc" compiler. The specific
> error issued is by the linker:
>
> Undefined symbols:
>
> "____gxx_personality_v0", referenced from:
> EH_frame0 in testCXXCompiler.cxx.o
>
> ld: symbol(s) not found
>
>
>
> Christian Convey
> Scientist
> Naval Undersea Warfare Centers
> Newport, Rhode Island, USA
> (p) (401) 832-6824
> (f) (401) 832-4749
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5218 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090702/0795d847/attachment.bin>
More information about the CMake
mailing list