gcc --make recompiles hs-boot files unncessarily
ghc --make should not recompile unnecessarily. Yet every build of the base package (for exanple) says:
Preprocessing library base-2.1...
Building base-2.1...
[ 2 of 166] Compiling GHC.Err[boot] ( GHC/Err.lhs-boot, nothing )
[ 4 of 166] Compiling GHC.Unicode[boot] ( GHC/Unicode.hs-boot, nothing )
[ 15 of 166] Compiling Data.Typeable[boot] ( Data/Typeable.hs-boot, nothing )
[ 23 of 166] Compiling Data.Dynamic[boot] ( Data/Dynamic.hs-boot, nothing )
[ 35 of 166] Compiling Foreign.Storable[boot] ( Foreign/Storable.hs-boot, nothing )
[ 40 of 166] Compiling GHC.TopHandler[boot] ( GHC/TopHandler.lhs-boot, nothing )
There is something wrong with the compilation manager. It's more of an infelicity than a bug, but it's still unsatisfactory.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |