Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Choice of gcc - MacOS

$
0
0

Dear all,

I am currently encountering problems of detecting the "right gcc" to pick up by my intel compiler.
I installed a gcc compiler alongside of the given clang compiler (by CommandLineTools).
I also created a symlink so that the command 'gcc' is linked to my custom gcc compiler.

However, I keep having includes problem since using icc, it keeps looking for clang includes instead of gcc ones. For example, it looks in the following folder: /Library/Developer/CommandLineTools/usr/include/c++/v1

How can I force it to run with my custom gcc (-gcc-name etc are not available on macOS)?

Thank you for you help.
Best

 


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>