Using a development branch of druntime+phobos with ldc
kinke
kinke at libero.it
Wed Oct 10 10:06:36 UTC 2018
On Wednesday, 10 October 2018 at 08:29:52 UTC, Per Nordlöw wrote:
> but what about rebuilding druntime+phobos with ldc and linking
> with that specific libphobos.so when compiling my benchmarking
> app with ldc? Is it possible? If so, what's the preferred way?
LDC has its own forks of druntime and Phobos, with numerous
required adaptations. So you'd need to apply your patches to
those forks & build the libs (druntime and Phobos are separate
libs for LDC), e.g., with the included ldc-build-runtime tool,
which makes this painless:
https://wiki.dlang.org/Building_LDC_runtime_libraries
The Wiki page also shows how to link those libs instead of the
shipped-with ones.
More information about the Digitalmars-d
mailing list