I am trying to create an apple openource libc (from http://www.opensource.apple.com/source/Libc/Libc-763.11/ ) on my OS X 10.6.8 laptop. This is done in order to essentially get the locally generated replica /usr/lib/libSystem.B.dylib, which I intend to continue further.
I see a couple of basic roadblocks (although, obviously, I missed something basic):
- There are no instructions on how to complete the assembly. There is a couple of Make files in the URL above, but they cannot build when I try to do simple things:
$ make -f makefile
Makefile: 14: *** missing delimiter. Stop.
- I suspect the source available for download is incomplete. It is not incomplete in the sense that Apple does not disclose all the changes, but it is incomplete in the sense that there are source files that are (presumably) not changed by Apple, therefore not included in the collection. For example, I donβt see the implementation of the βopenβ call (which in the gnu libc hierarchy is available in io / open.c)
The closest link I could find after some googling: http://www.projectosx.com/forum/index.php?showtopic=1922&st=0&p=12457entry12457 , but it's still not close enough for my taste !
Any pointers?
Thanks!
Vivek
source share