Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Running GCC on MIC

drMikeT
New Contributor I
683 Views

How can one run GCC on MIC? Or, how can one build on the host MIC code which requires both icc and gcc ?

thanks

Michael

0 Kudos
2 Replies
Frances_R_Intel
Employee
683 Views

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.

0 Kudos
drMikeT
New Contributor I
683 Views

Frances, that's great ... I have some code which requires GCC on the MIC. I will try it out.

thanks,

Michael

0 Kudos
Reply