从苹果源构建 DYLD
我正在尝试构建开源 DYLD,由 Apple 在此发布:
http:// /www.opensource.apple.com/source/dyld/dyld-97.1/
我复制了每个文件并尝试构建 XCode 项目,但卡在一个丢失的文件上。
i686-apple-darwin11-llvm-g++-4.2: /usr/local/lib/system/libc.a: 没有这样的文件或目录
我检查了 XCode 项目设置,并且正在专门设置此标志,但没有这样的文件我的文件系统上的任何地方。然而有一个 libc.dylib 。
从我读过的其他帖子来看,Mac OS X 通常不使用这个 libc.a 文件,但这个项目引用了它。
有谁知道我在哪里可以获得这个文件或者为什么使用它?
谢谢!
I am trying to build the open source DYLD, published by Apple here:
http://www.opensource.apple.com/source/dyld/dyld-97.1/
I copied down every single file and tried building the XCode project, but am stuck on a missing file.
i686-apple-darwin11-llvm-g++-4.2: /usr/local/lib/system/libc.a: No such file or directory
I checked the XCode project settings and this flag is being specifically set, yet there is no such file anywhere on my filesystem. There is a libc.dylib however.
From other posts I have read it seems that Mac OS X usually doesn't use this libc.a file, and yet it is referenced by this project.
Does anyone know where I can get this file or why it is used?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从 http://www.opensource.apple.com/source/Libc/ 并构建静态表单。您可能最终必须构建完整的 LibSystem 并使用其 build-libc.pl 脚本,具体取决于关于你想用这个做什么。
Pull libc from http://www.opensource.apple.com/source/Libc/ and build the static form. You may wind up having to build the full LibSystem and use its build-libc.pl script, depending on what you're trying to do with this.
您还可以从 Apple 开源 获取 libc 源代码。您应该能够用它来编译静态库。
You can also get the source for libc from apple open source. You should be able to compile the static library with this.