Dynamic and Static Linking

Gerald via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Mar 18 08:47:46 PDT 2017


Does LDC have a way to allow static linking libphobos and 
druntime while dynamically linking everything else? If I use the 
static flag it starts trying to link everything statically 
whereas I would like to be selective about it.

The reason I'm looking for this is some Linux distributions, such 
as Fedora, have really outdated versions of LDC shared libraries 
which are not compatible with newer versions of the compiler. DMD 
does what I want but if possible I'd prefer to use LDC for 
release binaries.


More information about the digitalmars-d-ldc mailing list