readline on macs

Simon Marlow simonmarhaskell at
Tue Jan 8 08:39:46 EST 2008

Ian Lynagh wrote:
> On Mon, Jan 07, 2008 at 09:19:25AM -0800, Judah Jacobson wrote:
>> On Jan 7, 2008 6:55 AM, Christian Maeder <Christian.Maeder at> wrote:
>>> Judah Jacobson wrote:
>>>> On Jan 5, 2008 10:29 AM, Thorkil Naur <naur at> wrote:
>>>>>> The alternative is to use static linking of gmp (as suggested by chak)
>>>>>> _and_ readline (version 5), so that user programs are also statically
>>>>>> linked with these libs.
>>> I just have succeeded in linking ghc-6.8.2 statically with libreadline.a
>>> and libncurses.a in the compiler directory by setting:
>> Readline is distributed under the GPL, not the LGPL (which gmp is).
>> Does the above cause a licensing problem? (I don't have much
>> experience in that area; hopefully someone can explain this issues
>> involved.)
> Perhaps the best answer is for someone to make editline bindings for
> Haskell?

I don't *think* libedit provides the completion functionality that we use 
in GHC, but I could be wrong.


More information about the Glasgow-haskell-users mailing list