<div class="gmail_quote">Op 25 maart 2012 13:12 schreef Bennie Copeland <span dir="ltr"><<a href="mailto:mugen.kanosei@gmail.com">mugen.kanosei@gmail.com</a>></span> het volgende:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For linking against C, I can create a DLL in windows, but I can't create an .so in linux, and no information at all about OSX.</blockquote><div><br></div><div>From what I've heard this was a certain bug (<a href="http://d.puremagic.com/issues/show_bug.cgi?id=4583">http://d.puremagic.com/issues/show_bug.cgi?id=4583</a>) that made it impossible to generate position independent code and thus no shared objects. This bug was fixed in dmd version 2.057 so it should work with dmd -c -fPIC and then use gcc on your platform to create the shared object.</div>
<div>If you don't need/want to use dmd I think gdc is capable of doing it.</div><div><br></div><div>Maarten</div></div>