Phobos still being statically linked in?

Shriramana Sharma via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 17 06:54:09 PDT 2015


Marc Schütz wrote:

> Yes, it's still linked statically by default, at least with DMD.
> I don't know why this wasn't changed yet, I just tried linking
> against libphobos.so and it worked. The resulting binary is then
> down to 13 Kb, after stripping.

Wow that's nice to hear! Can you outline the steps to link any given .d file 
against libphobos.so?

Thanks!

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d mailing list