Does dmd use static or dynamic linking with the Phobos Library?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Apr 30 19:48:09 PDT 2012


"WhatMeWorry" <kc_heaser at yahoo.com> wrote in message 
news:ezfjpijdnokmihhrptnq at forum.dlang.org...
>
> Is this user configurable?  I came across the sentence in the D 
> Compiler/Linking section:
>
> "The actual linking is done by running gcc"
>
> I thought that maybe this meant that I could pass a gcc option 
> like -static or -shared through dmd, but it errored out.
>
> Thanks in advance.
>

Static.

Dynamic linking with Phobos is currently being worked on.




More information about the Digitalmars-d-learn mailing list