|
RE: GHC doesn't doesn't clean up the way it should: msg#00013lang.haskell.glasgow.bugs
On 06 May 2004 10:16, Josef Svenningsson wrote: >> -----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. Works fine here. The temp file is deleted when you *exit* GHCi, BTW (it is cached for future recompilations). Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: GHC doesn't doesn't clean up the way it should, Josef Svenningsson |
|---|---|
| Next by Date: | RE: GHC doesn't doesn't clean up the way it should, Josef Svenningsson |
| Previous by Thread: | RE: GHC doesn't doesn't clean up the way it should, Josef Svenningsson |
| Next by Thread: | RE: GHC doesn't doesn't clean up the way it should, Josef Svenningsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |