ios - 为 Mac 构建 libunwind

标签 ios macos ios5 libunwind

我正在尝试在 Mac 上为 iOS 和 Mac 构建 libunwind,我能够解决一些编译问题。

在 Mac 上构建

我使用配置了项目

./configure CC="cc -Ae -D_XOPEN_SOURCE=500"

并从 Google 的 Breakpad 项目复制了 elf.h

https://google-breakpad.googlecode.com/svn-history/r1017/trunk/src/common/android/include/elf.h

我现在收到以下错误:

/usr/include/elf.h:58:15: fatal error: 'elf.h' file not found
#include_next <elf.h>

有人可以帮我解决这个问题吗?或者还有其他构建 libunwind 的过程吗?

我还想知道是否还需要做其他事情来为 iOS 构建 libunwind。

最佳答案

关于ios - 为 Mac 构建 libunwind,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27842377/

相关文章:

iphone - 更改 iOS 中的地理位置权限通知文本

ios - 我的 iOS 10 应用程序中的添加按钮未执行任何操作

javascript - 计算机进入休眠状态时 Node.js/OS X : How to notify node. js 应用程序

macos - 如何在 Swift 中获取按下的键

uiviewcontroller - MonoTouch - IOS5 Storyboard - 额外的 View Controller

ios - NSURLConnectionDownloadDelegate 文件问题

ios - 快速获取 1970 年的时间(格林威治标准时间)

ios - 通过没有 Storyboard的函数从另一个类执行 Segue

iphone - 'NSObject<PageControlDelegate>' 没有可见的@interface 声明选择器 'pageControlPageDidChange:'

ipad - 在 iOS 5.0 和 iOS 6.0 上使用 XCode 4.5 的困惑