gcc -s -static -Wall -O3 pointer.c -o pointer /usr/bin/ld: cannot find -lc
解决办法,安装glibc静态库:
sudo yum install glibc-static
gcc -static 编译不过解决
原文:http://www.cnblogs.com/docsis/p/3540120.html