Status of GHC runtime dependency on GNU multi precision arithmetic library

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Aug 16 07:43:12 EDT 2007


On Wed, 2007-08-15 at 18:41 +0100, Brian Hulley wrote:
> Hi,
> I know this is a sensitive issue and I absolutely don't want to start 
> any kind of discussion about the merits or otherwise of LGPL, but I was 
> wondering if there are any plans to remove the GNU mp library from the 
> runtime so that it would be possible to distribute native executables 
> compiled with GHC without having to deal with the additional issues 
> raised by the current inclusion of this LGPL component in the runtime. 
> (Afaik everything else in ghc is under a BSD3 license.)
> 
> It's less of an issue on Linux where libgmp is dynamically linked but 
> when thinking about using Haskell ghc for creating Windows apps it is 
> for me a real problem,

Sounds to me like the simlest solution for you would be if GHC could use
a dynamically linked gmp.dll on Windows. That also sounds like much less
work that replacing gmp completely.

Has anyone tried this?

Duncan



More information about the Glasgow-haskell-users mailing list