Axel Simon writes:
> Hi,
> 
> I installed the GHC 2.10 binary bundle on my Win NT system. Both options
> (install and in-place) come up with the following problem (where main is the
> trivial program from the install.html file):
> 
> bash-2.01$ ghc -o hello Main.hs
  ...
> main/CmdLineOpts.lhs:486: Non-exhaustive patterns in function `simpl_sep'

Hi,

you don't say, but it looks like you're running cygwin32 beta19. The
ghc-2.10 binary distribution was compiled for beta18. Running beta18
binaries under beta19 is a problem, since beta19 decided to treat
beta18 apps as any other Windows applications when exec'ing them. This
means amongst other things that command line lengths are restricted to
255 chars, so the (rather long) command line that the compiler driver
invokes the Haskell compiler with is truncated - hence the mysterious
behaviour you're seeing.

I hope to have a GHC binary dist for cygwin32-b19 out soon, which
includes fixes to most ghc-3.02 reported bugs.

--Sigbjorn

Reply via email to