LDC runtime libraries distribution model

Ivan Butygin ivan.butygin at gmail.com
Mon Jan 15 19:34:49 UTC 2018


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).


More information about the digitalmars-d-ldc mailing list