gcc 创建库及使用

gcc -shared hello.c -o libhello.so

gcc -o test test.c -L库所在目录 -l库名

posted @ 2015-01-20 17:06  luxiaolai  阅读(145)  评论(0编辑  收藏  举报