ar命令解压.a时候,报错 is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
来源:互联网 发布:流体力学仿真软件 编辑:程序博客网 时间:2024/06/06 02:25
在解压.a文件时,报了一个类似 xxx.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)的错误,经过查找资料,原来是因为该.a文件包含了多个cpu架构,比如armv7,armv7s等,此时可以用如下命令:
lipo xx. a -thin armv7 -output xx_armv7.a
lipo lxx. a -thin armv7s -output xx_armv7s.a
可以参考:ar : is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
然后再使用,ar -x xx_armv7.a,就可以成功的解压出各个.o了。
如果还想查看.o的反编译代码,在Mac上可以用otool这个命令来反编译.o文件,比如otool -tv xx.o
可以参考: Mac的反编译工具一:otool (objdump工具的OSX对应工具)。
0 0
- ar命令解压.a时候,报错 is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
- 【超级实用】ar命令解压.a时候,报错 is a fat file
- IOS 用lipo ar 拆分 合并 .a
- ar: .a: Malformed archive make[2]: *** [core] Error 1
- What is a cronjob and how do I use it?
- Is it easier to forge a £1 coin or a Leonardo?
- (Page 1 of 3 )A walking tour of JavaBeans What JavaBeans is, how it works, and why you want to use it
- Kinect + AR (1)
- 构建maven项目报cannot be read or is not a valid ZIP file 错
- PHP编译安装报错,make:*libtool: link: `ext/libxml/libxml.lo' is not a valid libtool object
- tomcat启动报错 It is not a Java .class file
- Is it a BUG or something else? Can't Capture Mouse Events on a Loaded Swf
- Linux命令之ar - 创建静态库.a文件
- Linux命令之ar - 创建静态库.a文件
- linux命令之ar—创建静态库.a文件
- Linux命令之ar - 创建静态库.a文件
- Linux命令之ar - 创建静态库.a文件
- linux命令之ar—创建静态库.a文件
- logback.xml
- Geeks : Dijkstra’s Algorithm for Adjacency List Representation 最短路径
- C语言课程设计——学生证管理系统
- 安装 PythonWin
- 并行化你的程序--Array of structure 与 structure of Array
- ar命令解压.a时候,报错 is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
- 如何学习开源软件的config/Makefile/Cmake文件
- ORACLE死锁接触方法:
- 经纬财富:开封如何炒现货白银
- 新浪微博分享实现(Web认证)
- struts2学习笔记(5)----------配置result
- (@"^-?\d+(\.\d{2})?$");解释
- ora001658错误解决法
- USACO Section 5.3 Window Area