Confusion about GHC and GMP
Ian Lynagh
igloo at earth.li
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?
>
> http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes#BinaryDropinReplacementforGMP
I assume you mean
http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes#CurrentStatus
in which case, yes.
> I assume that "INTEGER_LIBRARY=integer-foo" is an option when
> compiling GHC itself and not when using GHC, correct?
Yes.
> If so, what
> version of GHC was this added? 6.10, 6.12, HEAD?
6.12.
> 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
http://haskell.forkio.com/gmpwindows
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list