为armv6 iPhone构建时缺少符号divmodsi4

发布于 2024-12-17 03:49:42 字数 217 浏览 5 评论 0原文

当使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

远山浅 2024-12-24 03:49:42

尝试将编译器更改为 APPLE llvm。

try change the compiler to APPLE llvm.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文