site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) Hello All, The short question is: how do I force the LC_LOAD_DYLINKER load command into a Mach-O executable? The longer version is as follows. I am writing a pure assembly routine (no C main function, no crt0.o) that I want to call dynamically linked routines (printf!). You may wonder why, of course!!! I'm just trying to understand the user land process startup with dylinker. The Mach-O Runtine Architecture document is clear about the structure of the lazy symbol stubs required to link to dynamicly loaded code. The Csu-46 package (if someone could tell me why it's called that I'd appreciate it!!!, oddest named thing I've seen) has the standard startup and runtime stuff for C (start.s, dyld.c, crt.c). I think I've got it BUT there is no LD_LOAD_DYLINKER command in the executable produced even though I've specified -dynamic everywhere. Any advice would be greatly appreciated!! Rob _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com