[nhc-bugs] Building nhc98 on Windows 2000

Sigbjorn Finne sof@galois.com
Thu, 4 Apr 2002 07:51:57 -0800


----- Original Message -----
From: "Malcolm Wallace" <Malcolm.Wallace@cs.york.ac.uk>
To: "Sigbjorn Finne" <sof@galois.com>
Cc: <nhc-bugs@haskell.org>; <simonpj@microsoft.com>;
<simonmar@microsoft.com>
Sent: Thursday, April 04, 2002 07:30
Subject: Re: [nhc-bugs] Building nhc98 on Windows 2000


> > ghc   -package lang -package posix -c \
> >  -o /tmp/nhc98-1.12/targets/ix86-CYGWIN_NT-5.0/obj/hmake/QSort.o \
> >  QSort.hs
> >
> > Assembler messages:
> > FATAL: Can't create \
> > \tmp\nhc98-1.12\targets\ix86-CYGWIN_NT-5.0\obj\hmake\QSort.o
> >
> > So, for whatever reason, that /tmp/... directory doesn't exist.
>
> >From my reading of the situation, I thought the problem was that the
> /tmp/... directory *does* exist, but the \tmp\... directory does not.
> (And indeed, why should it, since the invocation didn't ask for it?)
>

If the setup in Q had c:\foo\bar\baz mounted as /tmp under cygwin, that
might be the case. But surely that's easy enough to work around?

--sigbjorn

Notice that both GHC and the mingw system calls (the MS provided
C runtime functions, really) are capable of understanding paths that
contain either "/" or "\" as directory separators, so you're reading too
much into the slashes being reversed in that output message.