mach-o/nlist.h (Mac OS X) 需要什么库
我似乎无法在源代码中找到 #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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 32 位平台上,
nlist(3)
位于默认情况下包含的libSystem
中。在 64 位平台上,
nlist(3)
不存在。除非您正在寻找非外部符号,否则应该使用
dlsym(3)
。On 32-bit platforms,
nlist(3)
is inlibSystem
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)
.不知道这是否有帮助,但在我的计算机上,nlist.h 位于 iPhone SDK 中。
No idea if this helps but on my computer nlist.h is in the iPhone SDK.