How can one run GCC on MIC? Or, how can one build on the host MIC code which requires both icc and gcc ?
There is a crosscompiler, /usr/linux-k1om-4.7/bin/x86_64-k1om-linux-gcc, which will let you build on the host for execution on the coprocessor. And you can use icc to build code on the host for execution on the coprocessor by adding -mmic to the command line. I know that some people have tried compiling gcc to run natively on the coprocessor but I don't know what success they have had. The Intel compiler runs only on the host.
Frances, that's great ... I have some code which requires GCC on the MIC. I will try it out.