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