c文件 main.c动态库:1. gcc -fPIC -c main.c2. gcc -shared -o libmyCalc.so *.o静态库:yum install arar -rcs libmy.a main.o