为armv6 iPhone构建时缺少符号divmodsi4
当使用 Xcode 4.2 构建 armv6 架构程序时,我收到一个奇怪的链接器错误:
未找到架构 armv6
___divmodsi4
的符号这是 llvm 中包含的数学函数符号
导致此问题的原因可能是什么?这是因为 xcode 中的错误,还是因为 armv6 无法使用它? (注意:为armv7编译相同的代码不会导致这个问题。)
谢谢
When using Xcode 4.2 to build an armv6 architecture program, I am getting a weird linker error:
Symbol not found for architecture armv6
___divmodsi4
Which is a math function symbol included with llvm
What could be the cause of this problem? Is this because of a bug in xcode, or is it because armv6 is not able to use this? (Note: Compiling the same code for armv7 does not cause this issue.)
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将编译器更改为 APPLE llvm。
try change the compiler to APPLE llvm.