
Hallo! I just run "ghc -c -v Main.hs 2>&1| tee withMount.log" while c: was mounted at / and "ghc -c -v Main.hs 2>&1| tee withoutMount.log" after unmounting it. I attached both Files. because cygwin complains about a missing /tmp after mounting c: to / I have a c:\tmp directory but ghc uses c:\Temp. I think you should drop the mount c: at / because it is sure a problem you run into when installing ghc. I used a fresh WinNT (service pack 5 and inernet explorer 5 installed) installed cygwinat c:\cygwin, mounted c: to /, set PATH, SHELL, HOME, MAKE_MODE and TMPDIR, restarted cygwin, created /tmp, installed ghc-4.08.2 at c:\ghc\ghc-4.08.2, added it to PATH, restarted cygwin and went to my code directory. The rest is described above. So until the next problem, Andreas rrt1001@cam.ac.uk@cl.cam.ac.uk am 24.02.2001 13:57:17 Gesendet von: reuben.thomas@cl.cam.ac.uk An: Andreas Marth/FT/DCAG/DCX@WK-EMEA2 Kopie: glasgow-haskell-users@haskell.org Thema: Re: Problems when mounting c: to /
When installing ghc-4.08.2 (onWinNT) as described in the installation instructions under c:, I couldn't get ghc to run. It invoked the C-preprozessor and stoped after cleaning.
I'm puzzled by this. Could you please send some sample output? Preferably running ghc -v.
When I unmount c:, it works fine. (If I install cygwin and dont mount c: to / it works fine too.) But now //c/ is the normal win-root. That's not a problem for me, but how about ghc?
Well, if it works, I suppose it's not a problem...
Does it depend in any way on c: mounted to /?
I'm not sure. I think it used to (because of using /tmp as the temporary directory). Now it's mostly for convenience.
If not why do you want this mount (in the installation instructions section 2.2.2.1)?
I think it used to be necessary, and I kept it in the instructions partly because I find it useful to be able to refer to the drive with Unix-style paths, with the root directory being /, and partly because it worked, and the less I change the instructions, the less likely I am to break something. -- http://sc3d.org/rrt/ ¦ wit, n. educated insolence (Aristotle)

I think you should drop the mount c: at / because it is sure a problem you run into when installing ghc.
I think you're right. I really should reinstall Cygwin on my machine in the default location, rather than at root. I'll change the instructions. Thanks. -- http://sc3d.org/rrt/ "Reality is what refuses to disappear when you stop believing in it" - Philip K. Dick
participants (2)
-
andreas.marth@daimlerchrysler.com
-
Reuben Thomas