OS X uses a completely different executable format, library format and also, external to Darwin, the Objective C runtime. All of this needs to be analysed and implemented. That's what I was implying. If you are implementing an executable loader, surely using an open source implementation as a starting point will get you a head start.