gcc -fPIC -c *.c$ gcc -shared -Wl,-soname,libfoo.so.1 -o ... 第二行: -shared : compile share library, 藍色部分是要pass給linker的參數.
確定! 回上一頁