linux so库方式

gcc test_a.c test_b.c test_c.c -fPIC -shared -o libtest.so

猜你喜欢

转载自www.cnblogs.com/hshy/p/12032895.html