Skip to content
Manuel M T Chakravarty edited this page Apr 21, 2015 · 3 revisions

GHC.framework is a wrapper around GHC and a set of libraries. It includes a full GHC distribution and can be used a library via GHC API. In addition the framework contains a few tools to help with making the framework relocatable.

  • The subproject target GHCBuild includes a vanilla GHC tree as a Git submodule. More details about that are in Embedding the GHC repo.

  • The GHC install tree build by GHCBuild is embedded into the GHC.framework at Versions/Current/usr.

  • All HfM Haskell components are compiled with the same GHC.framework that is also embedded in the app.

  • We are currently only generating dynamic libraries for all extra packages. The packages includes with GHC also have static libraries as Cabal needs some of them later during the build (to compile Setup.hs files).

Clone this wiki locally