How to bootstrap dmd/ldc on a new distro that uses llvm and musl-libc?
ryuukk_
ryuukk.dev at gmail.com
Thu Nov 16 22:41:50 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..)
void linux is similar
https://github.com/void-linux/void-packages/tree/master/srcpkgs/dmd
They even have a simple patch for musl, maybe this one patch
should be merged upstream (anyone willing to do it?)
There is also arch linux:
https://gitlab.archlinux.org/archlinux/packaging/packages/dmd
More information about the Digitalmars-d
mailing list