The reason for non-GHC boot dependencies

Hécate hecate at glitchbra.in
Wed Jul 10 09:01:27 UTC 2024


Hi devs,

I had a chat earlier today with someone and found myself unable to 
explain the reason why GHC came with boot dependencies like xhtml, that 
are dependencies of Haddock and HPC.

Obviously, the binaries are (haskell-)dynamically linked when 
distributed, but what is the reason why haddock, hpc, etc can't be 
(haskell-)statically linked when distributed?

Surely the size of binaries can't be the only concern, otherwise we'd 
use upx¹ on them when distributing them.

Cheers,

Hécate


1: https://upx.github.io

-- 
Hécate ✨
🐦: @TechnoEmpress
IRC: Hecate
WWW: https://glitchbra.in
RUN: BSD



More information about the ghc-devs mailing list