Skip to content

GHC Build System: make clean on windows requires ./configure to be rerun

On windows, with the ghc build system, if 'make clean' is run in the top level then the user can't simply run 'make' to build ghc after. The user must run './configure' again before 'make' can be run. The reason for this is 'make clean' removes the inplace mingw gcc binaries and they are installed into the inplace tree by './configure'.

This seems a bug to me. I expect to be able to run 'make' after running 'make clean'. I only expect to have to run './configure' again if I run 'make distclean' or 'make maintainer-clean'.

I checked the gnu standards then and they match my expectations.

http://www.gnu.org/software/automake/manual/html_node/Clean.html#Clean http://www.gnu.org/software/automake/manual/standards/Standard-Targets.html#Standard-Targets

Trac metadata
Trac field Value
Version 6.13
Type Bug
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