Skip to content

Allow --make and --fno-code

Loading a largish project in ghci is roughly twice as fast as using ghc --make (and hugs is roughly 6 times faster than ghci). Presumably the majority of the extra time that ghc --make takes compared to ghci is down to generating object code, though some will be serialising .hi files.

So the feature request is to let us use ghc --make -fno-code. The purpose is to check the code for errors, it would of course write out .hi files so that re-running ghc --make -fno-code only recompiles the changed files, like :reload in ghci.

Trac metadata
Trac field Value
Version 6.12.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information