
On Tue, 27 Jan 2004 09:24:43 +0100
Gour
Derek Elkins (ddarius@hotpop.com) wrote:
Well, what's the -v output for the "hello world" file? In a nutshell, what's all the information that could be provided that might possibly be useful and does anything go wrong doing the things GHC is attempting to do directly.
I've already provided (in previous thread) output for "hello world".
Please, if you can tell me if you need soem specific -vN output?
Finally, if it's not necessary to use 6.2, try 6.0.1.
One of the things that bothered me in compiling & running darcs is bug with renameFile (confirmed at Sourceforge) in 6.0.1, so 6.2 is needed.
Looking at (the next post by) kyra that you linked to, the only difference that is apparent is the quotes. There are some changes to the rawSystem command that might make that difference* (or the difference might be at it's use). So you might want to try modifying that and seeing if that makes a difference. If GHCi loads, you can probably test the difference by using rawSystem and sending the command in the -v output and explicitly adding \"s (after making sure it doesn't work). Unless I missed it, Microsoft doesn't mention any differences in CreateProcess between Windows versions with regards to this issue. Or the issue may be somewhere else entirely. I'm sure the GHC maintainers would find an example as small and simple as: <<'rawSystem "gcc" ["-c","c:\\foo\\bar.c"]' doesn't work but 'rawSystem"gcc" ["\"-c\"","\"c:\\foo\\bar.c\""]' does>> nice. *(http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/base/Syste m/Cmd.hs.diff?r1=1.13%3Aghc-6-2&tr1=1.14&r2=1.11%3Aghc-6-0-1&tr2=1.14&f =h)