Re: -pgm option syntax

2002-02-19 Thread Jens Petersen
Jens Petersen <[EMAIL PROTECTED]> writes: > It would be good if ghc would at like give a better error > message when an empty cmd is passed to -pgmX. Rather I think it should abort rather than forking an empty command... Jens ___ Glasgow-haskell-bugs

-pgm option syntax

2002-02-19 Thread Jens Petersen
Not sure whether this is a documentation bug or not, but I got tripped over by the syntax of the -pgm options this week. In the user-guide http://haskell.org/ghc/docs/latest/set/flag-reference.html#AEN5804 there clearly seem to be spaces between -pgmX and cmd, however looking at the code in ghc/c

handling embedded spaces in output from ghc -M

2002-02-19 Thread Antony Courtney
I'm running in to a problem using ghc -M to generate dependencies when there are embedded spaces in the path name to a dependency. If I run ghc -M using something like: $ ghc -M -optdep-f -optdep.hs_dependences -i"C:/Program Files/GreenCard"/lib/ghc JNI.hs it correctly computes the depe