logo       

RE: GHC doesn't doesn't clean up the way it should: msg#00012

lang.haskell.glasgow.bugs

Subject: RE: GHC doesn't doesn't clean up the way it should



> -----Original Message-----
> From: Simon Marlow [mailto:simonmar@xxxxxxxxxxxxx]
>
> Ok, can you provide a sample command line that I can use to reproduce
> the problem? Maybe you need to provide the preprocessor program too (a
> perl script will probably do).
>

OK. I haven't been able to reproduce this with GHC only with GHCi. Any
pre-processor will do, I've used this one for testing (I don't know Perl but
Haskell works fine :-):
\begin{code}
module Main where

import System

main = do args <- getArgs
case args of
[_,infile,outfile] -> do cont <- readFile infile
writeFile outfile cont
\end{code}

Here's the command line I use to reproduce to behaviour:
$ ghci -F -pgmF ./testpp.exe -v HaskellModule.hs

I'm running cygwin as you've probably noticed.

Good luck, and hope this helps.

/Josef


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise