gcc 生成动态库时-fpic选项是什么意思。

-f后面跟一些编译选项,PIC是其中一种,表示生成位置无关代码(Position Independent Code)
原文地址:https://www.cnblogs.com/jaydenhpj/p/4390591.html