Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一些 c 文件和 .h 头文件。现在我必须从这个 .c 和 .h 文件制作 .so 文件我该怎么做?
gcc -shared -o libfoo.so foo.o