I have a need to build ld from source to understand an assert(0). I got excited when I found that ld64 on the opensource portal contains an xcodeproj http://opensource.apple.com/source/ld64/ld64-127.2/ But... it seems like I'm lacking mach-o/arm/reloc.h, and dyld_priv.h. I'm doing my best to stitch it all together, but if anyone has any pointers to make this less painful, it would be much obliged. Humbly, Joe Abbey Director of S/W Development Arxan Technologies, Inc. 1305 Cumberland Ave, Ste 215 West Lafayette, IN 47906 W: 765-889-4756 x2 C: 765-464-9893 jabbey at arxan.com www.arxan.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120114/94545d5b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4350 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120114/94545d5b/attachment.bin>
On 14.01.2012, at 17:23, Joe Abbey wrote:> I have a need to build ld from source to understand an assert(0). > > I got excited when I found that ld64 on the opensource portal contains an xcodeproj > > http://opensource.apple.com/source/ld64/ld64-127.2/ > > But... it seems like I'm lacking mach-o/arm/reloc.h, and dyld_priv.h. > > I'm doing my best to stitch it all together, but if anyone has any pointers to make this less painful, it would be much obliged.Most of the stuff on opensource.apple.com is very painful to build. In this case you have to pick up reloc.h from the cctools archive and dyld_priv.h from dyld. http://opensource.apple.com/source/cctools/cctools-806/include/mach-o/arm/reloc.h http://opensource.apple.com/source/dyld/dyld-195.5/include/mach-o/dyld_priv.h put them in the right directories and it should compile. - Ben> Humbly, > > Joe Abbey > Director of S/W Development > Arxan Technologies, Inc. > 1305 Cumberland Ave, Ste 215 > West Lafayette, IN 47906 > W: 765-889-4756 x2 > C: 765-464-9893 > jabbey at arxan.com > www.arxan.com > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Thanks for your response, that's kinda what I've gathered over the years. I was hoping that the Xcode project would have "just worked". I'll keep piece-mealing it together, and hope that it works. I'll try to post a radar. Joe Joe Abbey Director of S/W Development Arxan Technologies, Inc. 1305 Cumberland Ave, Ste 215 West Lafayette, IN 47906 W: 765-889-4756 x2 C: 765-464-9893 jabbey at arxan.com www.arxan.com On Jan 14, 2012, at 11:47 AM, Benjamin Kramer wrote:> > On 14.01.2012, at 17:23, Joe Abbey wrote: > >> I have a need to build ld from source to understand an assert(0). >> >> I got excited when I found that ld64 on the opensource portal contains an xcodeproj >> >> http://opensource.apple.com/source/ld64/ld64-127.2/ >> >> But... it seems like I'm lacking mach-o/arm/reloc.h, and dyld_priv.h. >> >> I'm doing my best to stitch it all together, but if anyone has any pointers to make this less painful, it would be much obliged. > > Most of the stuff on opensource.apple.com is very painful to build. In this case you have to pick up reloc.h from > the cctools archive and dyld_priv.h from dyld. > > http://opensource.apple.com/source/cctools/cctools-806/include/mach-o/arm/reloc.h > http://opensource.apple.com/source/dyld/dyld-195.5/include/mach-o/dyld_priv.h > > put them in the right directories and it should compile. > > - Ben > >> Humbly, >> >> Joe Abbey >> Director of S/W Development >> Arxan Technologies, Inc. >> 1305 Cumberland Ave, Ste 215 >> West Lafayette, IN 47906 >> W: 765-889-4756 x2 >> C: 765-464-9893 >> jabbey at arxan.com >> www.arxan.com >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120114/8ebab450/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4350 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120114/8ebab450/attachment.bin>