The problem you have with the gsl library is caused because the library was not cross-compiled for the Intel Xeon P instead was compiled and configured for the host machine.In order to get gsl (or any other library) working on the Intel Xeon P you have to cross compile it for the coprocessor and provide the necessary paths to the compiler and the linker when you compile a program that requires that library:gcc hellophi.c -L/path/to/cross/compiled/glslib -lgsl使用icc时,您可以将交叉编译的库通过TCP/IP堆栈传输到协处理器(例如,使用scp),然后让icc进行环境变量和路径处理.When using icc, you can transfer the cross compiled library to the coprocessor through the TCP/IP stack (e.g. using scp) and let icc do the environment variable and path handling. 这篇关于在至强融核上使用GCC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-06 09:33