How to build a statically linked executable, before i loose my mind
ryuukk_
ryuukk.dev at gmail.com
Sat Jul 13 16:37:07 UTC 2024
On Saturday, 13 July 2024 at 16:16:20 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> Seeing ``_d_arraybounds_slice`` missing sounds like druntime
> isn't being linked against.
>
> It is possible that your distribution of ldc doesn't include a
> static build of druntime/phobos. You need to verify that ld is
> trying to link against a static build and that static build
> exists.
`curl -fsS https://dlang.org/install.sh | bash -s ldc`
More information about the Digitalmars-d-learn
mailing list