Skip to content

ghc --cleanup

calling ghc --make generates a lot of files, .o, .hi, .exe, .exe.manifest, .. moreover, those files may be in different directories, etc.

a nice way to get rid of all those leftovers would be a ghc --cleanup, with the same options and parameters as ghc --make, which would delete everything that ghc --make would generate.

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