Compile Library for armv7s - cputype (12) and cpusubtype (11)
来源:互联网 发布:淘宝影响二次销售举证 编辑:程序博客网 时间:2024/04/28 10:24
http://stackoverflow.com/questions/12549489/compile-library-for-armv7s-cputype-12-and-cpusubtype-11
I'm a developer of a third party library and I'd like to recompile my library for armv7s, but I seem to have issues.
I updated xcode to 4.5. I updated the project and the related targets to have valid architectures ofarmv7 armv7s
.
However, when I run file
or lipo -info
, it lists
- i386
- armv7
- (cputype (12) cpusubtype (11))
No armv7s. Am I missing something?
Use XCode's lipo:
xcrun -sdk iphoneos lipo
Apparently, (cputype (12) cpusubtype (11))
is another nomenclature for armv7s.
You can refer more here: http://www.galloway.me.uk/2012/09/hacking-up-an-armv7s-library/
The above blog also describes a method for making some libraries armv7s build compatible. The description of above is near the end of the article where he explains about the output from file
command.
To quote a part of it:
Inside this header (called a Mach-O header) is a field for the CPU type and the CPU subtype. ARM is CPU type 12, armv7 is CPU subtype 9 and armv7s is CPU subtype 11.
- Compile Library for armv7s - cputype (12) and cpusubtype (11)
- compile ffmpeg for armv7 armv7s
- Zbar library for iphone 5 (armv7s)
- Compile and use shared library
- Compile ffmpeg for iOS 6, support Simulator & armv7 & armv7s
- build ffmpeg for armv7 and armv7s
- build ffmpeg for armv7 and armv7s
- build ffmpeg for armv7 and armv7s
- Compile Assimp Open Source Library For Android Compile Assimp Open Source Library For Android
- 问题 No architectures to compile for (ARCHS=, VALID_ARCHS=armv7 armv7s).
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7 armv6)
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s)
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)
- 错误 No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7).
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s)
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s)
- .run文件在linux下的安装与卸载
- cocos2d-x 游戏开发工具,各种官方地址
- 第65章、JSON数据解析(从零开始学Android)
- struts2环境配置
- java环境配置对了,myeclipse还启动不了的解决方案
- Compile Library for armv7s - cputype (12) and cpusubtype (11)
- linux下安装vmware
- 我们应当怎样做需求分析:非功能需求(19)
- 软件测试人员是否有“归纳导致 bug 的范围”的职责?
- 配置hibernate根据实体类自动建表功能
- eclipse插件安装地址(持续更新)
- MapReduce学习之二
- vmware安装ubuntu,ssh连接
- Linux操作系统下不得不知的CLI软件