handling embedded spaces in output from ghc -M

Simon Marlow simonmar at microsoft.com
Wed Feb 27 11:31:01 EST 2002


> 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 dependencies, but generates the 
> following output:
> 
> --
> # DO NOT DELETE: Beginning of Haskell dependencies
> JNI.o : JNI.hs
> JNI.o : ./GCJNI.hi
> JNI.o : C:/Program Files/GreenCard/lib/ghc/StdDIS.hi
> --

Thanks; I've fixed this bug.  If we release 5.02.3 then it'll have the fix.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list