知识就是希望
gcc -shared -fPIC -o 1.so 1.c
PIC就是position independent code PIC使.so文件的代码段变为真正意义上的共享
posted on 2019-12-12 00:34 lydstory 阅读(224) 评论(0) 收藏 举报