Problems when mounting c: to /

[email protected] [email protected]
Tue, 27 Feb 2001 11:11:47 +0100


--Boundary=_0.0_=0057440008329344
Content-Type: text/plain; charset=ISO-8859-1; name="MEMO 02/27/01 11:08:30"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hallo!

I just run "ghc -c -v Main.hs 2>&1| tee withMount.log" while c: was mou=
nted at=20
/ and "ghc -c -v Main.hs 2>&1| tee withoutMount.log" after unmounting i=
t.
I attached both Files.
because cygwin complains about a missing /tmp after mounting c: to / I =
have a=20
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=20
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, M=
AKE_MODE=20
and TMPDIR, restarted cygwin, created /tmp, installed ghc-4.08.2 at=20
c:\ghc\ghc-4.08.2, added it to PATH, restarted cygwin and went to my co=
de=20
directory. The rest is described above.

So until the next problem,
Andreas





[email protected]@cl.cam.ac.uk am 24.02.2001 13:57:17
Gesendet von:	[email protected]
An:	Andreas Marth/FT/DCAG/DCX@WK-EMEA2
Kopie:	[email protected] =20

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? Preferab=
ly
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=20
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 temporar=
y
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 part=
ly
because I find it useful to be able to refer to the drive with Unix-sty=
le
paths, with the root directory being /, and partly because it worked, a=
nd
the less I change the instructions, the less likely I am to break somet=
hing.

--=20
http://sc3d.org/rrt/ =A6 wit, n.  educated insolence (Aristotle)




=

--Boundary=_0.0_=0057440008329344
Content-Type: application/octet-stream; name=withMount.log
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=withMount.log

VGhlIEdsb3Jpb3VzIEdsYXNnb3cgSGFza2VsbCBDb21waWxhdGlvbiBTeXN0ZW0sIHZlcnNpb24g
NC4wOC4yDQoNCkVmZmVjdGl2ZSBjb21tYW5kIGxpbmU6IC1jIC12DQoNCkluZWZmZWN0aXZlIEMg
cHJlLXByb2Nlc3NvcjoNCgllY2hvICd7LSMgTElORSAxICJNYWluLmhzIiAtfScgPiBDOi9URU1Q
L2doYzEzMy5jcHAgJiYgY2F0IE1haW4uaHMgPj4gQzovVEVNUC9naGMxMzMuY3BwDQpkZWxldGlu
Zy4uLiBDOi9URU1QL2doYzEzMy5jcHANCg0Kcm0gLWYgQzovVEVNUC9naGMxMzMqDQo=

--Boundary=_0.0_=0057440008329344
Content-Type: application/octet-stream; name=withoutMount.log
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=withoutMount.log

VGhlIEdsb3Jpb3VzIEdsYXNnb3cgSGFza2VsbCBDb21waWxhdGlvbiBTeXN0ZW0sIHZlcnNpb24g
NC4wOC4yDQoNCkVmZmVjdGl2ZSBjb21tYW5kIGxpbmU6IC1jIC12DQoNCkluZWZmZWN0aXZlIEMg
cHJlLXByb2Nlc3NvcjoNCgllY2hvICd7LSMgTElORSAxICJNYWluLmhzIiAtfScgPiBDOi9URU1Q
L2doYzE2Mi5jcHAgJiYgY2F0IE1haW4uaHMgPj4gQzovVEVNUC9naGMxNjIuY3BwDQowLjA1dXNl
ciAwLjA5c3lzdGVtIDA6MDAuMTllbGFwc2VkIDczJUNQVSAoMGF2Z3RleHQrMGF2Z2RhdGEgMG1h
eHJlc2lkZW50KWsNCjBpbnB1dHMrMG91dHB1dHMgKDBtYWpvciswbWlub3IpcGFnZWZhdWx0cyAw
c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