LDC runtime libraries distribution model
Guillaume Piolat
notthat at email.com
Wed Jan 17 19:48:17 UTC 2018
On Monday, 15 January 2018 at 19:34:49 UTC, Ivan Butygin wrote:
> Applications compiled with LDC can depend on runtime libraries
> (e.g jit runtime). How they should be distributed on different
> platforms?
> On windows you can just copy runtime dll with exe. Same on osx
> I think (after patch
> https://github.com/ldc-developers/ldc/pull/2503).
> On linux you have to put runtime so to some system directory
> (it is possible to have so relative to exe via rpath=$ORIGIN
> but this is considered unorthodox way).
It's why static runtime is almost always what you want.
More information about the digitalmars-d-ldc
mailing list