1、编译动态库
gcc -shared -o libtest.so test.c
gcc -shared -o libtest.dll test.c
2、编译包含第三方库的可执行程序
gcc -c test.c //生成test.ogcc main.c -static -L. test.o