cvs commit: fptools/ghc/compiler/compMan CmLink.lhs CmTypes.lhs
CompManager.lhs
Simon Marlow
simonmar@glass.cse.ogi.edu
Tue, 6 Feb 2001 04:03:10 -0800
simonmar 2001/02/06 04:03:10 PST
Modified files:
ghc/compiler/compMan CmLink.lhs CmTypes.lhs CompManager.lhs
Log:
Try to get the stable modules story right. Things now work much
better: objects aren't unloaded and reloaded unnecessarily, and
compiling modules from with GHCi works:
> :! ghc -c A.hs
> :r
Compiling A ... compilation IS NOT required (using ./A.o)
Compiling B ... compilation IS NOT required
Compiling C ... compilation IS NOT required
Compiling Main ... compilation IS NOT required
Compiled module must not depend on interpreted modules, but we
currently don't enforce this restriction properly.
Revision Changes Path
1.27 +75 -48 fptools/ghc/compiler/compMan/CmLink.lhs
1.6 +6 -10 fptools/ghc/compiler/compMan/CmTypes.lhs
1.47 +40 -22 fptools/ghc/compiler/compMan/CompManager.lhs