Cabal recompiles library for executables

Neil Mitchell ndmitchell at gmail.com
Fri Nov 24 07:06:01 EST 2006


Hi

> If a project consists of both a library and executables, the library
> modules are re-compiled for each executable. (I use GHC.) That leads to
> high space and time consumption. Is this a bug or a feature?

I also note that if a cabal project contains two programs which share
code, then this code is recompiled twice on each change.

Thanks

Neil


More information about the cabal-devel mailing list