<html><body><div><br></div><div><br>On Jun 23, 2012, at 03:45 PM, Martin Nowak <dawg@dawgfoto.de> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">That's probably not the best idea. One might prefer control over magic.<br> It also implies that we have to peek through all loaded C libraries to <br> search<br> dependent D libraries which AFAIK is only feasible by hacking libc <br> structures.</div></div></blockquote><br>Could you elaborate on why that is implied? I don't understand why calling "rt_init" manually or automatically would make any difference. The dynamic loader (dyld) has API's available to inspect all loaded dynamic libraries, if that's what you're referring to.<br><br>For example: "_dyld_get_image_header" and "_dyld_image_count".<br><br>http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/MachOReference/Reference/reference.html<br><br>--<br>/Jacob Carlborg<br></div></div></body></html>