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.
将静态库链接为精简存档时,不会将 .o 文件复制到存档中,而是通过 .a 文件的相对路径引用它们。
如何检查给定的 .a 文件是否为精简存档?
head -1 t.a !<thin>
最终,file(1)应该可以告诉你。我file-5.09只是说data。
file(1)
file-5.09
data