gcc混合连接静态库和动态库

来源:互联网 发布:sql查找重复记录 编辑:程序博客网 时间:2024/05/18 00:46
gcc -g -lstdc++ -g -WI,-Bdynamic -L. -lxxx  -WI,-Bstatic -L. -lxxx -o main main.cc