XiaoKL

MacDev.GetArchOfLibrary

1. static library

How to check target architecture of a static library

http://changhoward.blogspot.com/2012/03/how-to-check-target-architecture-of.html

For Mac OS:
   Use lipo.
   Ex. lipo -info staticLibrary.a

For Linux OS:
   Use file
   Ex. file staticLibrary.c

在Mac OS上file也是支持的。

 

2. dynamic library

 

posted on 2014-01-13 20:06  XiaoKL  阅读(224)  评论(0编辑  收藏  举报

导航