Dynamic libraries and GHCi

Ian Lynagh igloo at earth.li
Sun May 16 15:49:39 EDT 2010

On Mon, May 10, 2010 at 10:06:21AM +0100, Simon Marlow wrote:
>  - we make -dynamic the default.
> It's perhaps worth investigating the consequences of the first option,  
> making -dynamic the default.  Cabal would have to --enable-dynamic by  
> default - perhaps it would get an --enable-static that could even be  
> *off* by default.

I'm a bit confused. When you say "we make -dynamic the default", do you
mean "ghc foo.hs" uses the dynamic way?

Isn't the important thing that Cabal builds libs the dynamic way by

We'd still have to build them the static way too, if ghc keeps using
static by default.


More information about the Glasgow-haskell-users mailing list