Skip to content

Add support for out of source tree compilation.

Hello, it would be good if GHC supports also out of source tree compilation so that files produced during the build will not pollute source tree. E.g.

mkdir obj-ghc
cd obj-ghc
../ghc/configure
make

Currently configure step complain about:

$ ../ghc/configure
mk/config.h.in doesn't exist: perhaps you haven't run 'perl boot'?
Trac metadata
Trac field Value
Version 7.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
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