> Michael Weber wrote:
> > 
> > On Tue, Jan 18, 2000 at 11:21:06 +0100, George Russell wrote:
> > 
> > [...]
> > > OK, after hacking ghc-inplace to stop it deleting all its 
> files (is there
> > > a --keep-everything option?) and running hsc inside gdb I get:
> > [...]
> > 
> > EXTRAHCFLAGS="-keep-hc-files-too"
> > 
> > I dimly remember an option -keep-s-files-too ...
> Yes, both those options exist but they keep the products of 
> hsc, not what
> goes into it.  In this case, the cpp'd unlit'd source.  I 
> would like a 
> -keep-everything flag to actually keep everything . . .

The "standard hack" here is to run 'ghc -v' and hit Ctrl-Z at the right
moment.  This is a trick that's been passed down from previous generations
of GHC hackers, I guess no-one has ever been bothered enough to fix it
properly...

Cheers,
        Simon

Reply via email to