Phobos still being statically linked in?

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 17 04:28:38 PDT 2015


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.

On the topic of executable size, Vladimir Panteleev did some work 
to check it automatically for each version of DMD:

http://blog.thecybershadow.net/2015/05/05/is-d-slim-yet/
http://digger.k3.1azy.net/trend/


More information about the Digitalmars-d mailing list