As is know to us all, objc's runtime is open source and can be downloaded from: http://www.opensource.apple.com/tarballs/objc4/
After I download the tarball an extract it. I open objc.xcodeproj using xcode. However, when I build it, there are many erros, such as, can not find some headers. I googled all the missing headers, download them, put them in /tmp/objc.dst/usr/include. But without luck, still errors.
I searched the internet, but I can find few documents or instructions about:
- how to compile apple's objc runtime from source code?
- After compile it , I should get
libobjc.A.dylib, how to use it (as a replace of the system's libobjc.A.dylib) ?
I really appreciate any help you can provide.