Cabal recompiles library for executables

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


> 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.



More information about the cabal-devel mailing list