摘要:
main.c hello.c 1:gcc -shared -fPIC -o libmyhello.so hello.c 把hello.c生成动态库。 -shared表示共享,用作动态库。 -fPIC position independent code表示位置无关代码,用于动态加载。 2:gcc -o 阅读全文
posted @ 2016-06-13 01:06
Kevin_Hwang
阅读(259)
评论(0)
推荐(0)
浙公网安备 33010602011771号