Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Isaac Dupree
Isaac Dupree wrote: Stefan O'Rear wrote: Another possibility that occured to me recently, is to switch Integer to a simpler (perhaps even pure-Haskell) representation, and provide (core? extra? Hackage?) a hsgmp package. If you have big numbers, switching is easy: import Prelude hiding(Integ

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Isaac Dupree
Stefan O'Rear wrote: Another possibility that occured to me recently, is to switch Integer to a simpler (perhaps even pure-Haskell) representation, and provide (core? extra? Hackage?) a hsgmp package. If you have big numbers, switching is easy: import Prelude hiding(Integer) import Data.Integ

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Stefan O'Rear
On Wed, Aug 22, 2007 at 10:32:36AM +0100, Simon Peyton-Jones wrote: > | There is an interest in removing GMP, motivated partly by licensing but > | also due to portabiltity concerns and the fact that the use of GHC's > | memory manager in GMP prevents FFI code from using GMP safely. > | > | http://

RE: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-22 Thread Simon Peyton-Jones
| > 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

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-16 Thread Brian Hulley
Duncan Coutts wrote: On Thu, 2007-08-16 at 14:22 +0100, Brian Hulley wrote: .. For example, the LGPL requires you to give permission to people to reverse engineer your application... thus it may not even be possible for me to comply with the terms of the LGPL. >From the LGPL v3:

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-16 Thread Duncan Coutts
On Thu, 2007-08-16 at 14:22 +0100, Brian Hulley wrote: > > 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. > This would certainly make things easier though

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-16 Thread Brian Hulley
Stefan O'Rear wrote: On Wed, Aug 15, 2007 at 06:41:53PM +0100, Brian Hulley wrote: ... I was wondering if there are any plans to remove the GNU mp library from the runtime ... http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes Thanks for the link. ... although the program inclu

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-16 Thread Duncan Coutts
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 tha

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-15 Thread Ian Lynagh
On Wed, Aug 15, 2007 at 06:41:53PM +0100, Brian Hulley wrote: > > 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 I'

Re: Status of GHC runtime dependency on GNU multi precision arithmetic library

2007-08-15 Thread Stefan O'Rear
On Wed, Aug 15, 2007 at 06:41:53PM +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