How can I tell Xcode to use icpc? now it runs icc for both .c and cpp files. In "build rules" I can specify "Intel Compiler" only
For .cpp files compilation Xcode calls "icc -x c++" that is equivalent to calling "icpc". Is that causing any issues?
Note that Apple's compiler is called in similar way (clang -x c++).
For more complete information about compiler optimizations, see our Optimization Notice.