|
本地archlinux 用ifort编译源代码生成可执行文件
本地$ uname -a
Linux LL 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz GenuineIntel GNU/Linux
上传到ubuntu上
@ubuntu:~$ uname -a
Linux ubuntu 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux
运行可执行文件,出现如下错误
@ubuntu:~$ ./ESM
./ESM: /lib/libc.so.6: version `GLIBC_2.14' not found (required by ./ESM)
如何编译使可执行文件不依赖‘GLIBC’? |
|