I am getting the incompatibility error while linking a library using -mmic flag. I dont know how to make the piece of code compatible with native mic compilation.
x86_64-k1om-linux-ld: i386:x86-64 architecture of input file `libMisc.a(clock_time.o)' is incompatible with k1om output
//clock_time.c code
#include <time.h>
double MPI_Wtime(void);
double clock_time_()
{
return MPI_Wtime();
}