Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Thomas_G_3
Beginner
58 Views

Choice of gcc - MacOS

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

 

0 Kudos
0 Replies
Reply