<html><body><div><br></div><div><br>On Jun 22, 2012, at 07:35 AM, Sean Kelly <sean@invisibleduck.org> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">On Jun 21, 2012, at 11:23 AM, Brad Roberts wrote:<br> <br> > C apps still must initialize the d runtime, so do it from rt_init() or <br> > whatever the function is called these days.<br> <br> Or the library could expose an init() call of its own that first calls rt_init(). Either way, I think this is different from requiring the app developer to provide a static address or whatever for the function map.</div></div></blockquote><span> </span><br>I don't think it's necessary to manually call "rt_init". I think the GCC extension __attribute__((constructor)) can be used for this.<br><br>--<br>/Jacob Carlborg<br></div></div></body></html>