2 ms·
Targeting musl works out of the box with the musl toolchain and once you have a musl build you can build another ghc with that one with musl as the host. I hav
by cm3 10y ago
Targeting musl works out of the box with the musl toolchain and once you have a musl build you can build another ghc with that one with musl as the host.
I haven't tried building a statically linked musl ghc, and I honestly don't know how, but it'd be great to figure out. Any pointers? Speaking of static musl builds, that can be a good choice to create a single bindist of GHC that works on CentOS, Debian, Alpine, and any other Linux distro. Seeing how Docker defaults to Alpine images, it could be beneficial in that regard as well.