[GHC] #822: -keep-tmp-files does not keep all temporary files
GHC
trac at galois.com
Mon Jul 10 13:11:34 EDT 2006
#822: -keep-tmp-files does not keep all temporary files
------------------------------------+---------------------------------------
Reporter: greenrd at greenrd.org | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 6.4.2
Severity: minor | Keywords:
Os: Linux | Difficulty: Unknown
Architecture: x86_64 (amd64) |
------------------------------------+---------------------------------------
I invoke ghc like this:
{{{
ghc --make -cpp -pgmLlhs2TeX -optL --pre -pgmPcpphs.compat -keep-tmp-files
Functor.lhs
}}}
However, even with the -keep-tmp-files option enabled, ghc still does not
keep the file it references in the error message below, which is annoying
because it makes it less convenient to debug this error:
{{{
Chasing modules from: Functor.lhs
Skipping Category ( ./Category.lhs, ./Category.o )
Compiling Functor ( Functor.lhs, Functor.o )
/tmp/ghc16196.lpp:15:0: parse error (possibly incorrect indentation)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/822>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list