
#12053: Mode for ghc --make which only compiles the files I pass on command line -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: backpack Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mgsloan): Something like this would indeed be handy! The linker errors people get when the module isn't in their cabal file can be scary / uninformative. FYI, the approach that stack takes here is to use `-ddump-hi` and identify when there are modules / etc unmentioned in the cabal file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12053#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler