Linking to libraries with D

Alexander Panek alexander.panek at brainsware.org
Fri Nov 16 04:45:28 PST 2007


On Fri, 16 Nov 2007 12:28:33 +0000 (UTC)
Jarrod <gigantic.midget at gmail.com> wrote:

> Well I know this sounds a rather mundane question to all you code
> buffs out there, but I'm wondering how I would use C libraries with D.

Flattering. :P
 
> I guess the question I'm getting at is, would there a better way to
> do this? Is there a way to make the compiler actually compile and
> include the code you import? I would rather not have to make a static
> library just to use code I'm importing from another library, but I
> also don't want to have to manually build and link the code I'm
> importing every time either. Am I missing something here?

May I suggest taking a look at DSSS and/or Rebuild? It might do exactly
what you want.

-- 
Alexander Panek <alexander.panek at brainsware.org>



More information about the Digitalmars-d mailing list