In case others are not having much luck getting cygwin and
ghc-4.03 set up - make sure that the list of files returned
when running 'ls /bin' from within bash, includes sh.exe and
perl.exe (as stated on the installation page).

Without either, the ghc driver script will fail in non-obvious
ways.

--sigbjorn 

Erik Meijer <[EMAIL PROTECTED]> writes: 
> 
> After a smooth installation of GHC, I get an incomprehensible 
> error message when trying to compile  "Hello Workd!".
> 
> ==============================================================
> 
> bash-2.02$ ghc-4.03 -v -o main main.hs
> The Glorious Glasgow Haskell Compilation System, version 
> 4.03, patchlevel 0
> 
> Effective command line: -v -o main
> 
> Ineffective C pre-processor:
>         echo '{-# LINE 1 "main.hs" -}' > /tmp/ghc1026.cpp && 
> cat main.hs >>
> /tmp/ghc1026.cpp
> deleting... /tmp/ghc1026.cpp
> 
> rm -f /tmp/ghc1026*
> bash-2.02$
> 
> ==============================================================
> 
> Erik Meijer
> 

Reply via email to