<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon., 2 Sep. 2019, 11:10 am Kyle De'Vir via Digitalmars-d, <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday, 2 September 2019 at 18:01:20 UTC, Kyle De'Vir wrote:<br>
> On Monday, 2 September 2019 at 18:00:04 UTC, Eduard Staniloiu <br>
> wrote:<br>
>><br>
>> You could also try to compile the D code into an object and <br>
>> link with libdruntime and libphobos, using g++ or what C++ <br>
>> compiler you are using<br>
><br>
> Thanks for the suggestion. Will give this a try.<br>
<br>
Yeah, made no difference. It compiles, but running yields a <br>
segfault.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">You'll need to give us more information... What is the segfault? Can you show the callstack? (Build the C++ and D code with debug info `-g`)</span><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>