Linking with the phobos lib got it to compile, but I get a Bus Error when running: EXC_BAD_ACCESS (SIGBUS). Playing with the code a bit and looking at the crash reports, it looks like this happens whenever the D code tries to allocate memory.<div>
<br></div><div>Do you think this is an issue of using dmd and gcc together? I'm on Mac OS X.</div><div><br></div><div>Daniel<br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 6:17 PM, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com">bearophileHUGS@lycos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Denis Koroskin:<br>
<div class="im"><br>
> You need to link with phobos.lib (because this is where writeln is defined<br>
> and implemented).<br>
<br>
</div>And maybe use dmc instead of gcc if the compilation is done on Windows.<br>
<br>
Bye,<br>
<font color="#888888">bearophile<br>
</font></blockquote></div><br></div>