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

WhatMeWorry kc_heaser at yahoo.com
Mon Apr 30 21:03:02 PDT 2012


On Tuesday, 1 May 2012 at 02:47:35 UTC, Nick Sabalausky wrote:
> "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.


I should also have read more before posting. Just found this link.

http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD#Linkingmanually


More information about the Digitalmars-d-learn mailing list