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.
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?
- Using glibc headers with ImportC qua via Digitalmars-d-learn
- Re: Using glibc headers with Imp... qua via Digitalmars-d-learn
- Re: Using glibc headers with... Adam D Ruppe via Digitalmars-d-learn
- Re: Using glibc headers ... qua via Digitalmars-d-learn
- Re: Using glibc head... Adam D Ruppe via Digitalmars-d-learn
- Re: Using glibc... qua via Digitalmars-d-learn
- Re: Using g... bachmeier via Digitalmars-d-learn
- Re: Usi... qua via Digitalmars-d-learn
- Re: Using glibc headers ... qua via Digitalmars-d-learn
- Re: Using glibc head... Mike Parker via Digitalmars-d-learn