I'm trying to get D to use my system's libc. First of all, is such a thing possible with importc? Walter Bright's slides on importc say it should be "as easy as import stdio;", but it doesn't seem to be the case yet. In the specification page I see that importc looks for .c and .i files, not .h . Is it possible to do what I'm trying to do? And if so, how?

By the way, I know I can "import core.stdc.stdio;" and I'm sure it's a better option. I'm not trying to do anything important here, it's just to figure out how it works.

Reply via email to