[D-runtime] Runtime issue on Mac OS X

Jacob Carlborg doob at me.com
Fri Jun 22 14:10:52 PDT 2012

On Jun 22, 2012, at 07:35 AM, Sean Kelly <sean at invisibleduck.org> wrote:

> On Jun 21, 2012, at 11:23 AM, Brad Roberts wrote:
> > C apps still must initialize the d runtime, so do it from rt_init() or
> > whatever the function is called these days.
> 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.
I don't think it's necessary to manually call "rt_init". I think the GCC extension __attribute__((constructor)) can be used for this.

/Jacob Carlborg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d-runtime/attachments/20120622/2006ece3/attachment.html>

More information about the D-runtime mailing list