How to bootstrap dmd/ldc on a new distro that uses llvm and musl-libc?

Sergey kornburn at yandex.ru
Thu Nov 16 21:09:48 UTC 2023


On Thursday, 16 November 2023 at 19:55:11 UTC, SN wrote:
> Hi there!
>
> I'm testing out a new distro that uses LLVM toolchain and 
> MUSL-libc.
>
> I was trying to bootstrap dmd or ldc on it, but I couldn't find 
> a way to do either...
>
> There are no existing binaries that work, and the C++ versions 
> of dmd require a VERY VERY OLD version of llvm...
>
> I'm confused on how to bootstrap it now.
>
> (The distro uses clang, not gcc..)

This thing is not finished - but probably it gives some ideas of 
how to bootstrap it: 
https://github.com/oceandrift/dlang-dockerized


More information about the Digitalmars-d mailing list