icpc 14 does not work properly with -gcc-name -gxx-name options in Mac OS X Mountain Lion

icpc 14 does not work properly with -gcc-name -gxx-name options in Mac OS X Mountain Lion

I recently installed Intel C++ composer XE 2013 SP1 on a Mac OS X 10.8.4

When trying

icpc -H -std=c++11 -gcc-name=gcc-4.7 -gxx-name=g++-4.7 -o test test.cpp

icpc still tries to include the legacy GCC 4.2.1 headers, ditributed with LLVM-GCC of Xcode, instead of GCC 4.7 headers, I installed with Homebrew.

In previous versions, using -gcc-name etc works properly, even with a GCC not installed in system path.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Just chipping in to say I have exactly the same problem.

Leave a Comment

Please sign in to add a comment. Not a member? Join today