Confusion about GHC and GMP

Ian Lynagh igloo at
Sat Feb 13 10:01:13 EST 2010

On Fri, Feb 12, 2010 at 01:17:13PM -0800, Greg Fitzgerald wrote:
> I wonder if someone might be able to clear a few things up for me
> about implementing Integer with GMP.  First, is the link below the
> most up-to-date information regarding GHC's situation?

I assume you mean
in which case, yes.

> I assume that "INTEGER_LIBRARY=integer-foo" is an option when
> compiling GHC itself and not when using GHC, correct?


> If so, what
> version of GHC was this added?  6.10, 6.12, HEAD?


> Lastly, I'm confused about GHC's posted license, should it actually be
> LGPL so long as it statically links GMP?

IANAL, but on most platforms GMP is dynamically linked, and see also


More information about the Glasgow-haskell-users mailing list