mach-o/nlist.h (Mac OS X) 需要什么库

发布于 2024-09-03 20:30:22 字数 73 浏览 1 评论 0原文

我似乎无法在源代码中找到 #include 的正确库。搜索了整个网络和我的手册页...没有结果:'(

有人有线索吗?

I seem to have trouble finding the correct library to #include in my source code. Searched all over the web and my manpages... No result :'(

Does anyone have a clue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

翻了热茶 2024-09-10 20:30:22

在 32 位平台上,nlist(3) 位于默认情况下包含的 libSystem 中。

在 64 位平台上,nlist(3) 不存在。

除非您正在寻找非外部符号,否则应该使用dlsym(3)

On 32-bit platforms, nlist(3) is in libSystem which is included by default.

On 64-bit platforms, nlist(3) does not exist.

Unless you're looking for non-external symbols, you should use dlsym(3).

时常饿 2024-09-10 20:30:22

不知道这是否有帮助,但在我的计算机上,nlist.h 位于 iPhone SDK 中。

/Developer/Platforms/iPhoneOS.platform/Developer/usr/include/mach-o

No idea if this helps but on my computer nlist.h is in the iPhone SDK.

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