Haskell calling D code through the FFI
David Soria Parra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 6 03:45:04 PDT 2014
Jon via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> writes:
> So that does indeed solve some of the problems. However, using this
> method, when linking I get two errors, undefined reference rt_init()
> and rt_term() I had just put these methods in the header file. If I
> put wrappers around these functions and export I get the rt_init,
> rt_term is private.
>
rt_init is part of druntime. You need to link druntime into your program
in order to make it work.
More information about the Digitalmars-d-learn
mailing list