查看Linux下*.a库文件中文件、函数、变量等情况
在Linux 下经常需要链接一些 *.a的库文件,那怎么查看这些*.a 中包

含哪些文件、函数、变量:

1. 查看文件:ar -t xxx.a

2. 查看函数、变里:nm xxx.a

 

引用来自 http://www.cnblogs.com/xiehy/archive/2011/03/15/1984878.html

 

 

Linux下动态库查看方法:nm -D libavformat.so

Linux下静态库查看方法:ar -t libavformat.a

摘自 http://blog.sina.com.cn/s/blog_5e87dc120100mzpt.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-06-18
  • 2021-09-17
  • 2021-09-09
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案