Linking to C library [gdc/mac]
Bradley Smith
digitalmars-com at baysmith.com
Sat Jan 6 19:50:22 PST 2007
In addition to the d bindings mentioned previously, GLD is a D language
port of the GLFW library. It can be obtained from
http://dsource.org/projects/schooner. However, it has not been tested
with gdc, only with the DMD compiler on Linux and Windows. It should
work with gdc, but the build has not been configured for it yet.
Bradley
Graham MacDonald wrote:
> Apologies if this has been asked previously - I'm new to D and haven't
> seen the info anywhere.
>
> I want to use a C library (glfw, probably others) from within my D code.
> I want to link using gdc. How can I do this? Am I right in thinking I
> would have to create a D module (as described for dmd in
> http://www.digitalmars.com/d/htomodule.html)?
>
> Thanks!
>
> Graham
More information about the D.gnu
mailing list