Linking C Headers to D

DRex via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 11 20:54:18 PST 2017


Hi,

I am trying to link C and D (using GCC and GDC) and I am 
wondering (I could find no answers on google) if it is possible 
to compile C headers into object files and link them to D?  I 
have a large code base of C headers and am not at a point where I 
can translate them all to D in one go, so I need to be able to 
link to the headers.

Thanks.


More information about the Digitalmars-d-learn mailing list